kill starting up toontown crash

This commit is contained in:
Redmond Urbino 2007-02-22 00:43:46 +00:00
parent 0ad3bac423
commit 76242876c3

View File

@ -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)