mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
kill starting up toontown crash
This commit is contained in:
parent
0ad3bac423
commit
76242876c3
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user