fixed movePoints
This commit is contained in:
parent
5d060ae8a4
commit
233ce2462c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user