aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/earn_meter
diff options
context:
space:
mode:
authorASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com>2022-05-03 22:30:30 +0100
committerGitHub <noreply@github.com>2022-05-03 23:30:30 +0200
commit080f68ee8779ade26492b3f7b1be872528dcad8a (patch)
tree12970ff746ed0ca2326dc3ac50d52758266fa99e /Northstar.CustomServers/mod/scripts/vscripts/earn_meter
parentd6c7badc4b89700b2f763328a1b8e903fb4cc5c1 (diff)
downloadNorthstarMods-080f68ee8779ade26492b3f7b1be872528dcad8a.tar.gz
NorthstarMods-080f68ee8779ade26492b3f7b1be872528dcad8a.zip
Fixed dice roll only giving one tick (again) (#313)
* added second parameter to BurnMeter_GetLimitedRewardCount * fixed some weird shit happening
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/earn_meter')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut2
1 files changed, 1 insertions, 1 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 935dc4d0..a20e7aa0 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
@@ -182,7 +182,7 @@ void function EarnMeterMP_BoostEarned( entity player )
while ( burncard.ref == "burnmeter_random_foil" )
burncard = BurnReward_GetRandom()
- for ( int i = 0; i < BurnMeter_GetLimitedRewardCount( player ); i++ )
+ for ( int i = 0; i < BurnMeter_GetLimitedRewardCount( player, burncard.ref ); i++ )
BurnMeter_GiveRewardDirect( player, burncard.ref )
PlayerEarnMeter_DisableReward( player )