fixed movePoints

This commit is contained in:
Marcin Kostrzewski 2020-05-16 10:59:46 +02:00
parent 5d060ae8a4
commit 233ce2462c

View File

@ -122,6 +122,7 @@ class Player(Entity):
# Can move if timeout has elapsed
if self.movementTimer > self.moveTimeout:
self.movementTimer = 0
self.movePoints += 1
# Movement
if movement.value == Movement.FORWARD.value:
self.moveForward()