aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/earn_meter
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-05 01:35:54 +0000
committerGitHub <noreply@github.com>2022-01-05 01:35:54 +0000
commit0837c54ac652e371871f90441117065aa0edcf2e (patch)
treec2ef41f2f694a9fa0e272bb5344c3e5058d038fd /Northstar.CustomServers/mod/scripts/vscripts/earn_meter
parent614fcf2f354cc5883364c49fa3b557100c76f373 (diff)
parentb537fe6db52e0a30aa84592461ba7c1e27715036 (diff)
downloadNorthstarMods-0837c54ac652e371871f90441117065aa0edcf2e.tar.gz
NorthstarMods-0837c54ac652e371871f90441117065aa0edcf2e.zip
Merge pull request #71 from connieprice/main
Boost Fixes Redux
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, 1 insertions, 2 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 193262f1..1aa0f042 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
@@ -153,9 +153,8 @@ void function EarnMeterMP_BoostEarned( entity player )
while ( burncard.ref == "burnmeter_random_foil" )
burncard = BurnReward_GetRandom()
- if ( !BurnMeter_CheckBoostLimit( player ) ) {
+ for ( int i = 0; i < BurnMeter_GetLimitedRewardCount( player ); i++ )
BurnMeter_GiveRewardDirect( player, burncard.ref )
- }
PlayerEarnMeter_DisableReward( player )
}