summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles
diff options
context:
space:
mode:
Diffstat (limited to 'weatbag/tiles')
-rw-r--r--weatbag/tiles/e2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/weatbag/tiles/e2.py b/weatbag/tiles/e2.py
index a71ef96..eb7a2e2 100644
--- a/weatbag/tiles/e2.py
+++ b/weatbag/tiles/e2.py
@@ -47,7 +47,7 @@ class Tile:
player.give('unlit torch')
except:
print("Please try guessing a number, like 'guess 7'.")
- elif (do[0] in words.take):
+ elif (do[0] in words.take) and (self.contents['unlit torch'] == 1):
print("You can't have my prize, "
"you have to guess the lucky number!")
else: