Fixed a bug in plugins/coin.py

This commit is contained in:
Luke Rogers 2012-02-21 08:39:06 +13:00
parent a63e35d043
commit 21b753c892

View file

@ -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]))