home · contact · privacy
Fix broken FLATTEN_SURROUNDINGS.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 13 Dec 2020 02:09:54 +0000 (03:09 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 13 Dec 2020 02:09:54 +0000 (03:09 +0100)
plomrogue/tasks.py

index f7fb3124da02b32e46a887b95eed9ee8a57214ea..68f3269c04738ee8f44e785453f5c50fb8e2f713 100644 (file)
@@ -78,7 +78,7 @@ class Task_FLATTEN_SURROUNDINGS(Task):
                     self.thing.position).values()):
             if not self.thing.game.can_do_tile_with_pw(*yxyx, self.args[0]):
                 continue
                     self.thing.position).values()):
             if not self.thing.game.can_do_tile_with_pw(*yxyx, self.args[0]):
                 continue
-            self.thing.game.maps[yxyx[0]][yxyx[1]] = self.game.get_flatland()
+            self.thing.game.maps[yxyx[0]][yxyx[1]] = self.thing.game.get_flatland()
             self.thing.game.record_fov_change(yxyx)
 
 
             self.thing.game.record_fov_change(yxyx)