From 7877cbb239ab48d7a3bbd293d6504e5f8285cd89 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 16 May 2020 12:14:16 +0200 Subject: [PATCH] Added missing affinity to the player's init --- src/game/Game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Game.py b/src/game/Game.py index 44cd74a..2d321d2 100644 --- a/src/game/Game.py +++ b/src/game/Game.py @@ -126,7 +126,7 @@ class Game: self.initializeMap(filesPath) # Initialize the player - self.player = Player((6, 2), self.map.tileSize, Affinities(0.3, 0.6, 0.1)) + self.player = Player((6, 2), self.map.tileSize, Affinities(0.3, 0.6, 0.1, 0.5)) self.map.addEntity(self.player, DONTADD=True) self.eventManager = EventManager(self, self.player)