From 107257df0d103c879d1b7d39bbee9789051545e4 Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Mon, 22 Apr 2013 07:28:01 +0300 Subject: forgot to write 'self.' before a variable --- weatbag/tiles/s1e1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py index 1db29e3..3e11d37 100644 --- a/weatbag/tiles/s1e1.py +++ b/weatbag/tiles/s1e1.py @@ -33,7 +33,7 @@ class Tile: print("The undergrowth in that direction " "is impassable. You turn back.") return False - elif direction == 's' and hasnt_gone_south: + elif direction == 's' and self.hasnt_gone_south: print("Bugs are the enemy and must be crushed!\n" "So you decide to follow the bug upstream.") input() -- cgit v1.3