fixed toolbox menu issue
This commit is contained in:
@@ -97,8 +97,8 @@ func load_scene(scene_path : String, in_background : bool = false) -> void:
|
||||
if not _background_loading:
|
||||
change_scene_to_resource()
|
||||
return
|
||||
ResourceLoader.load_threaded_request(_scene_path)
|
||||
set_process(true)
|
||||
ResourceLoader.load_threaded_request(_scene_path)
|
||||
if _check_loading_screen() and not _background_loading:
|
||||
change_scene_to_loading_screen()
|
||||
|
||||
@@ -108,6 +108,7 @@ func _unhandled_key_input(event : InputEvent) -> void:
|
||||
get_tree().quit()
|
||||
|
||||
func _ready() -> void:
|
||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
set_process(false)
|
||||
|
||||
func _process(_delta) -> void:
|
||||
|
||||
Reference in New Issue
Block a user