fds
parent
eaf5a723f2
commit
c33c13bccb
|
@ -134,6 +134,6 @@ def apply_game_result(from_comment, wager, result, kind):
|
||||||
|
|
||||||
user.winnings += reward
|
user.winnings += reward
|
||||||
|
|
||||||
if (reward > 0):
|
if (reward > -1):
|
||||||
currency_value = int(getattr(user, kind, 0))
|
currency_value = int(getattr(user, kind, 0))
|
||||||
setattr(user, kind, currency_value + wager_value + reward)
|
setattr(user, kind, currency_value + wager_value + reward)
|
Loading…
Reference in New Issue