summary refs log tree commit diff homepage
path: root/brutalmaze/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'brutalmaze/game.py')
-rw-r--r--brutalmaze/game.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/brutalmaze/game.py b/brutalmaze/game.py
index f78c6f0..6295ae1 100644
--- a/brutalmaze/game.py
+++ b/brutalmaze/game.py
@@ -118,7 +118,6 @@ class Game:
             pygame.mixer.music.play(-1)
         pygame.display.set_icon(ICON)
 
-        pygame.fastevent.init()
         if config.server:
             self.server = socket()
             self.server.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
@@ -186,7 +185,7 @@ class Game:
 
         Return False if QUIT event is captured, True otherwise.
         """
-        events = pygame.fastevent.get()
+        events = pygame.event.get()
         for event in events:
             if event.type == QUIT:
                 return False