fix: implement varargs for ESC commands. 'custom' makes use of this #592

This commit is contained in:
Duncan Brown
2022-05-02 16:50:57 -04:00
committed by GitHub
parent ba5be04565
commit 738ce0debc
5 changed files with 53 additions and 27 deletions

View File

@@ -75,7 +75,8 @@ func set_scene(p_scene: Node) -> void:
#
# - p_scene: The scene currently being initialized by set_scene.
func finish_current_scene_init(p_scene: Node) -> void:
move_child(p_scene, 0)
if is_a_parent_of(p_scene):
move_child(p_scene, 0)
current_scene = p_scene