diff options
| author | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-21 05:10:22 +0300 |
|---|---|---|
| committer | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-21 05:10:22 +0300 |
| commit | 645d51c6c5702313448520513be97433130725bd (patch) | |
| tree | bf212f03c978cdffac9e8f10749b839f4a7ac266 | |
| parent | 0f3ea1e46f35c04a6b9f38fa238eb3329268770d (diff) | |
fixed bug_quest exit message.
| -rw-r--r-- | weatbag/tiles/s1e1.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py index f44f4cd..86b4758 100644 --- a/weatbag/tiles/s1e1.py +++ b/weatbag/tiles/s1e1.py @@ -4,7 +4,7 @@ import weatbag class Tile: def __init__(self): self.contents = {'bug': 1} - self.bug_leaves_this_time = True + self.first_visit = True pass def describe(self): @@ -31,11 +31,12 @@ class Tile: print("Bugs are the enemy and must be crushed!\n" "So you decide to follow the bug upstream.") input() + self.first_visit = False return True else: - if self.bug_leaves_this_time: + if self.first_visit: print("Bugs do not interest you very much.\n" "Lets get out of here.") - self.bug_leaves_this_time = False + self.first_visit = False input() return True |
