mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-26 17:30:54 +00:00
fixed a quick crash
This commit is contained in:
@@ -103,6 +103,7 @@ func value_changed(property, new_value) -> void:
|
|||||||
func close() -> void:
|
func close() -> void:
|
||||||
hide()
|
hide()
|
||||||
active = false
|
active = false
|
||||||
|
if get_tree() == null: return
|
||||||
await get_tree().create_timer(0.1).timeout
|
await get_tree().create_timer(0.1).timeout
|
||||||
closed.emit()
|
closed.emit()
|
||||||
for i in %Container.get_children():
|
for i in %Container.get_children():
|
||||||
|
|||||||
Reference in New Issue
Block a user