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:
parent
417323cb40
commit
abf9f7c51c
2
core.py
2
core.py
@ -289,7 +289,7 @@ class Game:
|
|||||||
else:
|
else:
|
||||||
self.textColorQuitGame = self.colorGrey
|
self.textColorQuitGame = self.colorGrey
|
||||||
if event.type == pg.KEYDOWN:
|
if event.type == pg.KEYDOWN:
|
||||||
if event.key == pg.K_z:
|
if event.key == pg.K_a:
|
||||||
print("quit"); self.areYouSure()
|
print("quit"); self.areYouSure()
|
||||||
if event.key == pg.K_r or event.key == pg.K_ESCAPE:
|
if event.key == pg.K_r or event.key == pg.K_ESCAPE:
|
||||||
print("resume game"); self.continueGame()
|
print("resume game"); self.continueGame()
|
||||||
|
Loading…
Reference in New Issue
Block a user