Remove print in coins.py, fixed grammar a little
This commit is contained in:
parent
c1193774f0
commit
7c1fce17cd
1 changed files with 1 additions and 3 deletions
|
@ -55,12 +55,10 @@ class Module(object):
|
||||||
|
|
||||||
chosen_side = random.choice(list(SIDES.keys()))
|
chosen_side = random.choice(list(SIDES.keys()))
|
||||||
win = side_name == chosen_side
|
win = side_name == chosen_side
|
||||||
print(chosen_side)
|
|
||||||
print(side_name)
|
|
||||||
|
|
||||||
if win:
|
if win:
|
||||||
event["user"].set_setting("coins", user_coins+coin_bet)
|
event["user"].set_setting("coins", user_coins+coin_bet)
|
||||||
event["stdout"].write("%s flipped %s and wins %d!" % (
|
event["stdout"].write("%s flips %s and wins %d!" % (
|
||||||
event["user"].nickname, side_name, coin_bet))
|
event["user"].nickname, side_name, coin_bet))
|
||||||
else:
|
else:
|
||||||
event["user"].set_setting("coins", user_coins-coin_bet)
|
event["user"].set_setting("coins", user_coins-coin_bet)
|
||||||
|
|
Loading…
Reference in a new issue