Hook up crawl behaviour. Make tunnel entrance even harder to find as a result
[koperkapel.git] / koperkapel / gamelib / tiles.py
index 382a2eab8bf72fa11cccf9ea0b25d21366e8761a..66a74ff05eee0cf6c6aee259f041762e7d31b94a 100644 (file)
@@ -64,7 +64,7 @@ class Tunnel(OrientatedTile):
 
     @classmethod
     def image(cls, neighbors):
-        connections = [True if 'walk' in x['behaviour'] else False for x in neighbors]
+        connections = [True if 'crawl' in x['behaviour'] else False for x in neighbors]
         conn_count = connections.count(True)
         # simple cases
         cls.ANGLE = 0