From: Christian Heller Date: Mon, 14 Dec 2020 20:44:35 +0000 (+0100) Subject: Remove redundant SourcedMap center neutralization. X-Git-Url: https://plomlompom.com/repos/add_task?a=commitdiff_plain;h=e1240d24097c72f49b0b25f1224588038990645d;p=plomrogue2 Remove redundant SourcedMap center neutralization. --- diff --git a/plomrogue/mapping.py b/plomrogue/mapping.py index d3baba6..7b7ad3c 100644 --- a/plomrogue/mapping.py +++ b/plomrogue/mapping.py @@ -220,8 +220,6 @@ class SourcedMap(Map): self.source_geometry.define_segment(source_center, radius) self.geometry = self.source_geometry.__class__(size) self.source_map_segment = '' - if source_center in obstacle_positions: - obstacle_positions.remove(source_center) for yx in self: big_yx, little_yx = self.source_yxyx(yx) get_map(big_yx)