fixed bug where the game over text would glitch out for a few frames
This commit is contained in:
parent
102c170983
commit
5800db8432
2 changed files with 3 additions and 3 deletions
|
@ -176,6 +176,4 @@ func _on_animation_finished(anim_name: String) -> void:
|
|||
"Beam":
|
||||
state = State.STAND
|
||||
"die":
|
||||
var map = Game.get_map()
|
||||
var gover = load("res://menus/game_over.tscn").instance()
|
||||
map.add_child(gover)
|
||||
Game.change_map(load("res://menus/game_over.tscn"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue