aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
diff options
context:
space:
mode:
authorDinorush <62536724+Dinorush@users.noreply.github.com>2022-01-24 23:11:19 -0500
committerBarichello <artur@barichello.me>2022-01-26 20:56:34 -0300
commit644b4756281eaa29d7c9c35471f25fc3283e1288 (patch)
treeaf442616bf12a777eb304530146f3b3328bfdbaf /Northstar.CustomServers/mod/scripts
parent55e00cd6a0c12b4fe227553b3e173e73140c19e7 (diff)
downloadNorthstarMods-644b4756281eaa29d7c9c35471f25fc3283e1288.tar.gz
NorthstarMods-644b4756281eaa29d7c9c35471f25fc3283e1288.zip
Reverted passive gain ticking after titan death
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut5
1 files changed, 1 insertions, 4 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 ff25b6a9..91f17a66 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
@@ -130,10 +130,7 @@ void function EarnMeterMP_PlayerLifeThink( entity player )
if ( desiredEarnMeterMode == eEarnMeterMode.DEFAULT )
{
if ( !IsTitanAvailable( player ) && lastEarnMeterMode == eEarnMeterMode.PET ) // this should only be the case after player's auto died (or they ejected)
- {
- lastPassiveGainTime = Time()
EarnMeterMP_ReplaceReward( player, pilotReward, pilotRewardFrac )
- }
if ( PlayerEarnMeter_GetRewardFrac( player ) != 0 )
PlayerEarnMeter_EnableReward( player )
@@ -230,4 +227,4 @@ void function EarnMeterMP_SetBoostByRef( entity player, string boostRef )
}
else
PlayerEarnMeter_SetGoal( player, earnobject )
-} \ No newline at end of file
+}