mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Don't throw an error when runnin the world scene by itself.
This commit is contained in:
parent
ed9f5f71b3
commit
4d6c60a859
@ -117,9 +117,11 @@ func save() -> void:
|
||||
ESS.entity_spawner.save_player(_player, _player_file_name)
|
||||
|
||||
func _generation_finished():
|
||||
|
||||
if show_loading_screen and not Engine.editor_hint:
|
||||
get_node("..").hide_loading_screen()
|
||||
var p : Node = get_node("..")
|
||||
|
||||
if p && p.has_method("hide_loading_screen"):
|
||||
get_node("..").hide_loading_screen()
|
||||
|
||||
# if _player:
|
||||
# _player.set_physics_process(true)
|
||||
|
Loading…
Reference in New Issue
Block a user