minor bug fix

there were a problem when you were in the pause menu. when you wanted to quit the game you had to press on w instead of q so i corrected it so now it works as it should. It will be updated during the next release.
This commit is contained in:
SergentThomasKelly 2018-04-27 08:31:48 +02:00 committed by GitHub
parent 417323cb40
commit abf9f7c51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ class Game:
else:
self.textColorQuitGame = self.colorGrey
if event.type == pg.KEYDOWN:
if event.key == pg.K_z:
if event.key == pg.K_a:
print("quit"); self.areYouSure()
if event.key == pg.K_r or event.key == pg.K_ESCAPE:
print("resume game"); self.continueGame()