Fixed debugger errors in many files and optimized some scenes/code

This commit is contained in:
VoidTwo
2021-12-12 23:55:59 -06:00
parent fc6dfdef4d
commit ef5ce684eb
39 changed files with 657 additions and 740 deletions

View File

@@ -4,7 +4,7 @@ export var hub_world_path: String = 'res://Levels/Hub World.tscn'
func _on_timer_timeout() -> void:
if get_tree().change_scene(hub_world_path) != OK:
print('ERROR: Level Ending failed to change scene to Hub World.')
queue_free()
return
if get_tree().change_scene(hub_world_path) != OK:
print('ERROR: Level Ending failed to change scene to Hub World.')
queue_free()
return