summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--14.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/14.py b/14.py
index 57b94a0..45aaae4 100644
--- a/14.py
+++ b/14.py
@@ -41,7 +41,7 @@ class Sandbox:
for units in count():
sandpos = self.source
while self.minx <= sandpos[0] <= self.maxx and \
- self.miny <= sandpos[1] <= self.maxy and \
+ sandpos[1] <= self.maxy and \
self.source not in self.tiles:
for dx in (0, -1, 1):
npos = sandpos[0] + dx, sandpos[1] + 1