bug fix
A little bug were hidden under the hood ! I found that with re organization I forgot to change this line to the new systel so if you tried to quit the game by clicking the red cross, it would make the whole game crash.
This commit is contained in:
parent
68a88548c0
commit
d7134f8bc0
2
core.py
2
core.py
@ -261,7 +261,7 @@ class Game:
|
||||
elif self.lastMove == "-Y":
|
||||
self.picCoordinates = playerAnimation('noneUp', self.gender)
|
||||
if event.type == pg.QUIT:
|
||||
self.pause()
|
||||
self.changeMenu("pause")
|
||||
# ========================================== PAUSE SCREEN ==================================================== #
|
||||
if self.state == 'pause':
|
||||
for event in pg.event.get():
|
||||
|
Loading…
Reference in New Issue
Block a user