diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:17:38 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:17:38 +0100 |
commit | 52c838538d2271134a2c5a128074ea9c2ed1d4a3 (patch) | |
tree | fd85a4193f88ec48c77d6fbfd90e909ac3a5855c /game/hud/HudScript.cpp | |
parent | 15a958a7f327bb2e81e7d445f1499ec78c7f5839 (diff) | |
parent | bb2db93bfb8dd7e080d2708548eae660e6b33913 (diff) |
Merge branch 'master' into niels/game
Diffstat (limited to 'game/hud/HudScript.cpp')
-rw-r--r-- | game/hud/HudScript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/hud/HudScript.cpp b/game/hud/HudScript.cpp index 8f77706..3fb7a77 100644 --- a/game/hud/HudScript.cpp +++ b/game/hud/HudScript.cpp @@ -3,6 +3,7 @@ #include "../Config.h" #include "../Events.h" +#include "menus/endgame/EndGameSubScript.h" #include <climits> @@ -91,5 +92,6 @@ bool HudScript::save() { SaveManager & savemgr = this->get_save_manager(); savemgr.set(TOTAL_COINS_RUN, this->coin_amount); savemgr.set(DISTANCE_RUN, this->distance_st); + this->trigger_event<ShowScoreEvent>(); return false; } |