summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n5w5.py
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-20 14:18:55 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-20 14:18:55 +0300
commit1a44cdd9429511f31f61fb5dddbe8f66a59bc2be (patch)
tree6fcce96429afbdeefa12195a0ab81e96e1440986 /weatbag/tiles/n5w5.py
parent2f84c99a87a69e205c6daaa746dde9e2788cf0ec (diff)
fixed IndexError line 32 (n5w5)
Diffstat (limited to 'weatbag/tiles/n5w5.py')
-rw-r--r--weatbag/tiles/n5w5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/weatbag/tiles/n5w5.py b/weatbag/tiles/n5w5.py
index ad41b7e..c6bc31a 100644
--- a/weatbag/tiles/n5w5.py
+++ b/weatbag/tiles/n5w5.py
@@ -29,7 +29,7 @@ class Tile:
self.contents["cream"] -= 1
player.give("cream")
self.challenge = True
- elif do[0] in words.take and do[1]=="cream":
+ elif do[0] in words.take and "cream" in do:
print("Don't be greedy, you have all the cream you're gonna "
"need.\n")
else: