summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles
diff options
context:
space:
mode:
Diffstat (limited to 'weatbag/tiles')
-rw-r--r--weatbag/tiles/n4w7.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/weatbag/tiles/n4w7.py b/weatbag/tiles/n4w7.py
index cd9b405..a7a0ea8 100644
--- a/weatbag/tiles/n4w7.py
+++ b/weatbag/tiles/n4w7.py
@@ -38,11 +38,7 @@ class Tile:
print("You'll need some mice and cream.")
def leave(self, player, direction):
- if direction == "s":
- print("It's the open sea. You can't go anywhere near by "
- "swimming.\n")
- return False
- elif direction == "w":
+ if direction in ("s", "w"):
print("It's the open sea. You can't go anywhere near by "
"swimming.\n")
return False