general: fix crash, disable UserFunnel
This commit is contained in:
parent
27ce5fd576
commit
89be2e73c7
|
|
@ -8,7 +8,7 @@ from direct.gui.DirectGui import *
|
||||||
from toontown.toonbase import TTLocalizer
|
from toontown.toonbase import TTLocalizer
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.toontowngui import TeaserPanel
|
from toontown.toontowngui import TeaserPanel
|
||||||
from toontown.toonbase import UserFunnel
|
#from toontown.toonbase import UserFunnel
|
||||||
NAME_ROTATIONS = (7, -11, 1, -5, 3.5, -5)
|
NAME_ROTATIONS = (7, -11, 1, -5, 3.5, -5)
|
||||||
NAME_POSITIONS = ((0, 0, 0.26),
|
NAME_POSITIONS = ((0, 0, 0.26),
|
||||||
(-0.03, 0, 0.25),
|
(-0.03, 0, 0.25),
|
||||||
|
|
@ -177,8 +177,8 @@ class AvatarChoice(DirectButton):
|
||||||
def __handleChoice(self):
|
def __handleChoice(self):
|
||||||
cleanupDialog('globalDialog')
|
cleanupDialog('globalDialog')
|
||||||
messenger.send(self.doneEvent, ['chose', self.position])
|
messenger.send(self.doneEvent, ['chose', self.position])
|
||||||
UserFunnel.loggingAvID('write', str(self.avForLogging))
|
#UserFunnel.loggingAvID('write', str(self.avForLogging))
|
||||||
UserFunnel.logSubmit(0, 'AvatarChoice')
|
#UserFunnel.logSubmit(0, 'AvatarChoice')
|
||||||
|
|
||||||
def __handleCreate(self):
|
def __handleCreate(self):
|
||||||
cleanupDialog('globalDialog')
|
cleanupDialog('globalDialog')
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ from direct.actor import Actor
|
||||||
import string
|
import string
|
||||||
from ToonHead import *
|
from ToonHead import *
|
||||||
from pandac.PandaModules import *
|
from pandac.PandaModules import *
|
||||||
|
from libotp import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.toonbase import ToontownGlobals
|
from toontown.toonbase import ToontownGlobals
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue