summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weatbag/tiles/n3w4.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/weatbag/tiles/n3w4.py b/weatbag/tiles/n3w4.py
index d4f238b..aeb58f9 100644
--- a/weatbag/tiles/n3w4.py
+++ b/weatbag/tiles/n3w4.py
@@ -10,10 +10,7 @@ class Tile:
print("Sorry, I don't understand.\n")
def leave(self, player, direction):
- if direction == "n":
- print("No trespasing. Violators will vanish without a trace.\n")
- return False
- elif direction == "w":
+ if direction in ('n', 'w'):
print("No trespasing. Violators will vanish without a trace.\n")
return False
else: