Fixed a bug in plugins/coin.py
This commit is contained in:
parent
a63e35d043
commit
21b753c892
|
@ -40,5 +40,5 @@ def coin(inp):
|
||||||
return "You flip a coin and get "+sidename+"."
|
return "You flip a coin and get "+sidename+"."
|
||||||
else:
|
else:
|
||||||
flips = flip_simple(count)
|
flips = flip_simple(count)
|
||||||
return "You flip %s coins and get %s heads and %s tails." % (str(count), str(flips[0]), str(flips[0]))
|
return "You flip %s coins and get %s heads and %s tails." % (str(count), str(flips[0]), str(flips[1]))
|
||||||
|
|
||||||
|
|
Reference in a new issue