diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index b6b1de9cdc..3de18717bb 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -271,6 +271,9 @@ class ShowBase(DirectObject.DirectObject): ShowBase.notify.info('__dev__ == %s' % __dev__) + # This is temporary: + __builtins__["wantOtpServer"] = self.config.GetBool('want-otp-server', 0) + # Now hang a hook on the window-event from Panda. This allows # us to detect when the user resizes, minimizes, or closes the # main window.