Actually take coins when the house wins (coins)

This commit is contained in:
jesopo 2019-03-01 15:00:56 +00:00
parent 4467ba8ab6
commit 1e9772e578

View file

@ -341,6 +341,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write("Roulette spin lands on 0, " event["stdout"].write("Roulette spin lands on 0, "
"the house wins, %s loses %s" % ( "the house wins, %s loses %s" % (
event["user"].nickname, bet_amount_total)) event["user"].nickname, bet_amount_total))
self._take(event["server"], event["user"], bet_amount_total)
return return
colour = "red" if choice in RED else "black" colour = "red" if choice in RED else "black"