forked from rDrama/rDrama
1
0
Fork 0

better tier logic in claim_rewards

master
Aevann 2023-03-07 16:22:25 +02:00
parent 44b9370d13
commit 56fe72d294
1 changed files with 4 additions and 1 deletions

View File

@ -1336,7 +1336,10 @@ def claim_rewards(v):
marseybux = 0
for transaction in transactions:
tier = tiers[transaction.amount]
for money, t in tiers.items():
if transaction.amount < money: break
tier = t
marseybux += marseybux_li[tier]
if tier > highest_tier:
highest_tier = tier