From 233ce2462ccb4e8a94d32e5ce2ae588330e93325 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 16 May 2020 10:59:46 +0200 Subject: [PATCH] fixed movePoints --- src/entities/Player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entities/Player.py b/src/entities/Player.py index 23d5295..d477a2b 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -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()