diff options
author | bd <bdunahu@operationnull.com> | 2025-05-29 17:54:38 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-29 17:54:38 -0400 |
commit | c121b6fcd2286d4b7d3f905d1e34fb6547f915a4 (patch) | |
tree | 4438ea108a949cd5c79df50c9f86d7800ca14775 /scripts | |
parent | 85d7a4817421e6a6fc254c9d9676f7d0c6253c18 (diff) |
Rework some sound effects
Diffstat (limited to 'scripts')
-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: |