Replace queue_free() call with sth more robust
This commit is contained in:
parent
61da7fb367
commit
1926620e45
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ func _init(new_config: CoreConfiguration = CoreConfiguration.new()) -> void:
|
|||
var inittime: int = Time.get_ticks_msec()
|
||||
name = "CORE"
|
||||
if !check_godot_version(): return
|
||||
if !determine_basepath(): queue_free()
|
||||
if !determine_basepath():
|
||||
get_tree().quit(70)
|
||||
while true: await get_tree().create_timer(9999).timeout
|
||||
custom_modules_node = Node.new()
|
||||
reload_configuration(new_config)
|
||||
initialize_modules()
|
||||
|
|
Loading…
Reference in a new issue