diff options
Diffstat (limited to 'scripts/game_data.gd')
-rw-r--r-- | scripts/game_data.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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: |