escape pause bug fixed
Visibly this bug is always here. I corrected it definitely. Until the nex time.
This commit is contained in:
parent
d7134f8bc0
commit
05eedc9351
2
core.py
2
core.py
@ -250,7 +250,7 @@ class Game:
|
|||||||
self.picCoordinates = playerAnimation('left',self.gender)
|
self.picCoordinates = playerAnimation('left',self.gender)
|
||||||
self.posX -= 16; self.lastMove = "-X"; self.scrolling()
|
self.posX -= 16; self.lastMove = "-X"; self.scrolling()
|
||||||
if event.key == pg.K_ESCAPE:
|
if event.key == pg.K_ESCAPE:
|
||||||
self.pause()
|
self.changeMenu("pause")
|
||||||
elif event.type == pg.KEYUP:
|
elif event.type == pg.KEYUP:
|
||||||
if self.lastMove == "+Y":
|
if self.lastMove == "+Y":
|
||||||
self.picCoordinates = playerAnimation('noneDown', self.gender)
|
self.picCoordinates = playerAnimation('noneDown', self.gender)
|
||||||
|
Loading…
Reference in New Issue
Block a user