From c121b6fcd2286d4b7d3f905d1e34fb6547f915a4 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 29 May 2025 17:54:38 -0400 Subject: Rework some sound effects --- scripts/game_data.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/game_data.gd') diff --git a/scripts/game_data.gd b/scripts/game_data.gd index d050e25..cc20c13 100644 --- a/scripts/game_data.gd +++ b/scripts/game_data.gd @@ -41,7 +41,7 @@ func subtract_morale(amount: int): emit_signal("morale_changed") if (_morale < 1): get_tree().change_scene_to_file("res://scenes/game_over.tscn") - else: + elif (_morale == 1): _play_sound(morale_down) func get_is_spawning() -> bool: -- cgit v1.2.3