From e1240d24097c72f49b0b25f1224588038990645d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 14 Dec 2020 21:44:35 +0100 Subject: [PATCH] Remove redundant SourcedMap center neutralization. --- plomrogue/mapping.py | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.30.2