home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0482064
)
Fix broken FLATTEN_SURROUNDINGS.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Dec 2020 02:09:54 +0000
(
03:09
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 13 Dec 2020 02:09:54 +0000
(
03:09
+0100)
plomrogue/tasks.py
patch
|
blob
|
history
diff --git
a/plomrogue/tasks.py
b/plomrogue/tasks.py
index f7fb3124da02b32e46a887b95eed9ee8a57214ea..68f3269c04738ee8f44e785453f5c50fb8e2f713 100644
(file)
--- 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.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)