home · contact · privacy
Remove redundant SourcedMap center neutralization.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 20:44:35 +0000 (21:44 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 14 Dec 2020 20:44:35 +0000 (21:44 +0100)
plomrogue/mapping.py

index d3baba67527e1f83f4d548071c2033eb86c27d85..7b7ad3c6680e56b0901c40e1ca6ba13c2d9781d1 100644 (file)
@@ -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)