fixed hud, moved weapon and ammo penalties to gamemode

This commit is contained in:
derek
2025-03-18 10:16:09 -05:00
parent d17bc56ca2
commit 891ae8a7f2
10 changed files with 79 additions and 42 deletions

View File

@@ -163,8 +163,8 @@ func cleared():
func die():
SignalBus.emit_signal("player_exiting_tree")
#record stats
GameGlobals.money_penalty()
GameGlobals.weapon_penalty()
gamemode.apply_money_penalty()
gamemode.apply_weapon_penalty()
if GameGlobals.player_deaths:
GameGlobals.player_deaths += 1
SaveLoad.save_user_data()