Qualify Godot.Engine: the tools compile test has an Engine namespace
This commit is contained in:
1 parent
657353b959
commit
5c399b150d
4 files changed
+6
-6
No files matched your search
@@ -58,7 +58,7 @@ namespace Cthangover.Mods.Rpg
|
||||
|
||||
private static SceneManager FindSceneManager()
|
||||
{
|
||||
var tree = Engine.GetMainLoop() as SceneTree;
|
||||
var tree = Godot.Engine.GetMainLoop() as SceneTree;
|
||||
return tree?.Root?.GetNodeOrNull<SceneManager>("SceneManager");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user