fixed movePoints
This commit is contained in:
parent
5d060ae8a4
commit
233ce2462c
@ -122,6 +122,7 @@ class Player(Entity):
|
|||||||
# Can move if timeout has elapsed
|
# Can move if timeout has elapsed
|
||||||
if self.movementTimer > self.moveTimeout:
|
if self.movementTimer > self.moveTimeout:
|
||||||
self.movementTimer = 0
|
self.movementTimer = 0
|
||||||
|
self.movePoints += 1
|
||||||
# Movement
|
# Movement
|
||||||
if movement.value == Movement.FORWARD.value:
|
if movement.value == Movement.FORWARD.value:
|
||||||
self.moveForward()
|
self.moveForward()
|
||||||
|
Loading…
Reference in New Issue
Block a user