summaryrefslogtreecommitdiff
path: root/scripts/morale.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/morale.gd')
-rw-r--r--scripts/morale.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/morale.gd b/scripts/morale.gd
index d5a8046..613c7f5 100644
--- a/scripts/morale.gd
+++ b/scripts/morale.gd
@@ -4,7 +4,7 @@ func _ready():
GameData.connect("morale_changed", Callable(self, "_on_morale_changed"))
update_label(GameData.get_morale())
-func _on_life_changed(new_morale: int) -> void:
+func _on_morale_changed(new_morale: int) -> void:
update_label(new_morale)
func update_label(new_morale: int) -> void: