From: Christian Heller Date: Sun, 13 Dec 2020 02:09:54 +0000 (+0100) Subject: Fix broken FLATTEN_SURROUNDINGS. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/do_day?a=commitdiff_plain;h=5a75ab241a01d23babfd01e85835f16ec4907cb8;p=plomrogue2 Fix broken FLATTEN_SURROUNDINGS. --- diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py index f7fb312..68f3269 100644 --- a/plomrogue/tasks.py +++ b/plomrogue/tasks.py @@ -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.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)