We should be using _take, not _set_user_coins in !roulette

This commit is contained in:
jesopo 2018-10-19 12:12:13 +01:00
parent ae07ea9da1
commit b9d5db821e

View file

@ -468,7 +468,7 @@ class Module(ModuleManager.BaseModule):
event["user"].nickname)
payin = sum(bet_amounts)
self._set_user_coins(event["user"], payin, wallet_in)
self._take(event["user"], payin, wallet_in)
self._give_to_pool(event["server"], payin)
# black, red, odds, evens, low (1-18), high (19-36)
# 1dozen (1-12), 2dozen (13-24), 3dozen (25-36)