Qualify Godot.Engine: the tools compile test has an Engine namespace

This commit is contained in:
cthangover committed 2026-10-21 13:39:36 +02:00
1 parent 657353b959
commit 5c399b150d
4 files changed
+6 -6

No files matched your search

@@ -32,7 +32,7 @@ namespace Cthangover.Mods.Rpg.Tests
.Select(a => a.Substring("--shots=".Length))
.FirstOrDefault();
GameLogger.Log("TEST", $"RpgWalkTestInitializer: activating rpg_walk, shots={shots ?? "off"}");
(Engine.GetMainLoop() as SceneTree)?.Root?.CallDeferred("add_child", new RpgWalkTestDriver(shots));
(Godot.Engine.GetMainLoop() as SceneTree)?.Root?.CallDeferred("add_child", new RpgWalkTestDriver(shots));
}
}
}