Game over
This commit is contained in:
@ -13,3 +13,8 @@ func spawn_mob():
|
||||
|
||||
func _on_timer_timeout() -> void:
|
||||
spawn_mob()
|
||||
|
||||
|
||||
func _on_player_health_depleted() -> void:
|
||||
%GameOver.visible = true
|
||||
get_tree().paused = true
|
||||
|
Reference in New Issue
Block a user