From 08d425b938e79f0090e47f9bd2fa223204167cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sun, 26 Apr 2020 18:11:54 +0200 Subject: [PATCH] Fix sea being not collidable Player can't walk over sea --- src/game/Map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/Map.py b/src/game/Map.py index e2655f3..bdbfbcf 100644 --- a/src/game/Map.py +++ b/src/game/Map.py @@ -98,6 +98,7 @@ class Map: elif tile == 'x': object = TerrainTile(col, row, 'water.png', self.tileSize, 0) self.screen.draw(object, Locations.MAP, 0, 0) + self.collidables.add(object) elif tile == 'w': object = TerrainTile(col, row, 'wall.png', self.tileSize, 0) self.screen.draw(object, Locations.MAP, 0, 0)