ajout précision tp

This commit is contained in:
DylanVsn 2019-11-08 10:47:33 +01:00
parent a75f5298a0
commit f89fe10318

View File

@ -73,6 +73,8 @@ class Map:
if teleporter_count: # not all teleporters are on edges if teleporter_count: # not all teleporters are on edges
return False return False
### ATTENTION - we need to verify teleporters are in front of the other
# no ground tile on border # no ground tile on border
if any(Tile.GRD in edges): if any(Tile.GRD in edges):
return False return False