diff options
| author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 20:36:04 +0100 | 
|---|---|---|
| committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 20:36:04 +0100 | 
| commit | a4523f2cfae22cf732e58232fd58670c3c0b952c (patch) | |
| tree | e80d5229c32dc13dd19be0b234e77c6d30eb1388 /game/hud/HudScript.cpp | |
| parent | 0a57018881fc530e18695ed3331482f432bb7750 (diff) | |
added endgame data
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;  } |