Added missing affinity to the player's init

This commit is contained in:
Marcin Kostrzewski 2020-05-16 12:14:16 +02:00
parent 5e1e089015
commit 7877cbb239

View File

@ -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)