fds
This commit is contained in:
parent
7db29801b7
commit
1bb22e205b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue