Ensure that SceneTree is initialized and finalized at correct time

SceneTree should be fully initialized before any tree operation with any node and finalized only after all nodes exited tree.
This commit is contained in:
Nickolai Korshunov
2023-01-28 15:25:03 +03:00
committed by Nickolai Korshunov
parent 329652b6fe
commit 83f065c0ef
2 changed files with 6 additions and 10 deletions

View File

@@ -138,7 +138,6 @@ private:
HashMap<StringName, Group> group_map;
bool _quit = false;
bool initialized = false;
StringName tree_changed_name = "tree_changed";
StringName node_added_name = "node_added";