diff options
-rw-r--r-- | 14.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |