X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new%2Fplomrogue%2Fmapping.py;h=e21def88a96dbecfda2b3196e5c7e62c68d2cb7c;hp=aa76b61d1123dee7c7625f03302a8e16bc399300;hb=599f48bd1d9270cf154e885cf276adb05727507a;hpb=c7ed14237418f807473b11e49f17a878ff344f97 diff --git a/new/plomrogue/mapping.py b/new/plomrogue/mapping.py index aa76b61..e21def8 100644 --- a/new/plomrogue/mapping.py +++ b/new/plomrogue/mapping.py @@ -62,6 +62,7 @@ class Map(MapBase): def get_neighbors(self, pos): neighbors = {} + pos = tuple(pos) if not hasattr(self, 'neighbors_to'): self.neighbors_to = {} if pos in self.neighbors_to: