aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/earn_meter
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:31:33 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:31:33 +0000
commitdade102a0d4d14ba5ee560022b8e2f1ddf960977 (patch)
tree136e096242c08a1041f6a45919326bd7ac3d1b53 /Northstar.CustomServers/mod/scripts/vscripts/earn_meter
parentc02ec0cce39b36a6264e414a4741c8ea131f5286 (diff)
downloadNorthstarMods-dade102a0d4d14ba5ee560022b8e2f1ddf960977.tar.gz
NorthstarMods-dade102a0d4d14ba5ee560022b8e2f1ddf960977.zip
near-release fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/earn_meter')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut3
1 files changed, 3 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut
index da8ca9f5..c698cb36 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut
@@ -75,6 +75,9 @@ void function OnPlaying()
void function OnPlayerRespawned( entity player )
{
thread EarnMeterMP_PlayerLifeThink( player )
+
+ if ( PlayerEarnMeter_IsRewardAvailable( player ) )
+ EarnMeterMP_BoostEarned( player )
}
void function EarnMeterMP_PlayerLifeThink( entity player )