diff --git a/test_suites/interactives/src/InteractivesTest.cs b/test_suites/interactives/src/InteractivesTest.cs index f3d2f8b..39c9b70 100644 --- a/test_suites/interactives/src/InteractivesTest.cs +++ b/test_suites/interactives/src/InteractivesTest.cs @@ -29,7 +29,7 @@ namespace Mods.InteractiveBase.Tests return; queued = true; GameLogger.Log("TEST", "InteractivesTest: activating"); - (Godot.Engine.GetMainLoop() as SceneTree)?.Root?.CallDeferred("add_child", new InteractivesTestDriverNode()); + ModRoot.AddDeferred(new InteractivesTestDriverNode()); } }