From: Christian Heller Date: Tue, 1 Dec 2020 03:21:00 +0000 (+0100) Subject: Make windows block sound. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/bar%20baz.html?a=commitdiff_plain;h=673b5f17a66b9ff19d6d59a523b5c21e4ad3da73;p=plomrogue2 Make windows block sound. --- diff --git a/plomrogue/mapping.py b/plomrogue/mapping.py index 6708b1b..d1fc9fb 100644 --- a/plomrogue/mapping.py +++ b/plomrogue/mapping.py @@ -264,7 +264,7 @@ class DijkstraMap(SourcedMap): while shrunk: shrunk = False for i in range(self.size_i): - if self.source_map_segment[i] == 'X': + if self.source_map_segment[i] in 'X=': continue neighbors = self.geometry.get_neighbors_i(i) for direction in [d for d in neighbors if neighbors[d]]: