fixed hud, moved weapon and ammo penalties to gamemode
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user