escape pause bug fixed

Visibly this bug is always here. I corrected it definitely. Until the nex time.
This commit is contained in:
SergentThomasKelly 2018-04-26 19:32:01 +02:00
parent d7134f8bc0
commit 05eedc9351

View File

@ -250,7 +250,7 @@ class Game:
self.picCoordinates = playerAnimation('left',self.gender)
self.posX -= 16; self.lastMove = "-X"; self.scrolling()
if event.key == pg.K_ESCAPE:
self.pause()
self.changeMenu("pause")
elif event.type == pg.KEYUP:
if self.lastMove == "+Y":
self.picCoordinates = playerAnimation('noneDown', self.gender)