Commit 4762f080 authored by captnfab's avatar captnfab 🦃
Browse files

Fix: collidepoint in gameover screen

parent d8bf5c36
......@@ -1780,7 +1780,7 @@ class GuiGameOver:
def input(self, event):
if event.type == pygame.MOUSEBUTTONDOWN:
if self.menu_rects[0].collidepoint(event.pos):
if self.menu_sprites[0][0].collidepoint(event.pos):
self.rnd.state.options['skip'] = True
elif event.type == pygame.KEYDOWN:
if event.key in [pygame.K_RETURN, pygame.K_ESCAPE]:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment