mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
Fix errors when unloading demos with DemoPlayer
This commit is contained in:
parent
f9b52fc24c
commit
04468a7d60
@ -12,5 +12,5 @@ func load_demo(scene_path: String) -> void:
|
||||
|
||||
func unload() -> void:
|
||||
for node in get_children():
|
||||
remove_child(node)
|
||||
call_deferred("remove_child", node)
|
||||
node.queue_free()
|
||||
|
Loading…
Reference in New Issue
Block a user