Browse Source

kill starting up toontown crash

Redmond Urbino 19 years ago
parent
commit
76242876c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -579,7 +579,7 @@ class ShowBase(DirectObject.DirectObject):
         fTk = self.config.GetBool('want-tk', 0)
         fTk = self.config.GetBool('want-tk', 0)
         # Start DIRECT if specified in Config.prc or in cluster mode
         # Start DIRECT if specified in Config.prc or in cluster mode
         fDirect = (self.config.GetBool('want-directtools', 0) or
         fDirect = (self.config.GetBool('want-directtools', 0) or
-                   (base.config.GetString("cluster-mode", '') != ''))
+                   (self.config.GetString("cluster-mode", '') != ''))
         # Set fWantTk to 0 to avoid starting Tk with this call
         # Set fWantTk to 0 to avoid starting Tk with this call
         self.startDirect(fWantDirect = fDirect, fWantTk = fTk)
         self.startDirect(fWantDirect = fDirect, fWantTk = fTk)