forked from rDrama/rDrama
kill all forgetful cunts
parent
245761b5d5
commit
6395092618
|
@ -210,7 +210,6 @@ def spin_roulette_wheel():
|
||||||
else:
|
else:
|
||||||
game.winnings = -game.wager
|
game.winnings = -game.wager
|
||||||
|
|
||||||
if game.currency == 'coins':
|
|
||||||
distribute_wager_badges(game.user, game.wager, won=(game.winnings > 0))
|
distribute_wager_badges(game.user, game.wager, won=(game.winnings > 0))
|
||||||
|
|
||||||
game.active = False
|
game.active = False
|
||||||
|
|
|
@ -32,7 +32,6 @@ def casino_slot_pull(gambler, wager_value, currency):
|
||||||
|
|
||||||
gambler.pay_account(currency, reward)
|
gambler.pay_account(currency, reward)
|
||||||
|
|
||||||
if currency == 'coins':
|
|
||||||
distribute_wager_badges(gambler, wager_value, won=(payout > 0))
|
distribute_wager_badges(gambler, wager_value, won=(payout > 0))
|
||||||
|
|
||||||
symbols = build_symbols(payout)
|
symbols = build_symbols(payout)
|
||||||
|
|
|
@ -257,7 +257,6 @@ def handle_payout(gambler, state, game):
|
||||||
|
|
||||||
gambler.pay_account(game.currency, payout)
|
gambler.pay_account(game.currency, payout)
|
||||||
|
|
||||||
if game.currency == 'coins':
|
|
||||||
if status in {BlackjackStatus.BLACKJACK, BlackjackStatus.WON}:
|
if status in {BlackjackStatus.BLACKJACK, BlackjackStatus.WON}:
|
||||||
distribute_wager_badges(gambler, game.wager, won=True)
|
distribute_wager_badges(gambler, game.wager, won=True)
|
||||||
elif status == BlackjackStatus.LOST:
|
elif status == BlackjackStatus.LOST:
|
||||||
|
|
Loading…
Reference in New Issue