diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-15 03:30:53 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-15 03:30:53 +0300 |
| commit | fc08b790a2f9f905e4e98122645d035e67684d26 (patch) | |
| tree | e18914ba6cc5e45d66406c00e30b9132eb270e76 /weatbag | |
| parent | e8a63f4a16e00afaf4130e4bc0d4b8e4f94a75bc (diff) | |
joined two leave restrictions in one (n4w7)
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n4w7.py | 6 |
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 |
