diff --git a/direct/src/showbase/EventManager.py b/direct/src/showbase/EventManager.py index 77291d2906..feaa43638f 100644 --- a/direct/src/showbase/EventManager.py +++ b/direct/src/showbase/EventManager.py @@ -120,7 +120,7 @@ class EventManager: if self.eventQueue == EventManager.EventQueue.getGlobalEventQueue(): # If we are using the global event queue, then we also # want to use the global event handler. - self.eventHandler = EventManager.EventHandler.getGlobalEventHandler(self.eventQueue) + self.eventHandler = EventManager.EventHandler.getGlobalEventHandler() else: # Otherwise, we need our own event handler. self.eventHandler = EventManager.EventHandler(self.eventQueue)