general: fix crash, disable UserFunnel

This commit is contained in:
John Cote 2019-11-23 15:44:32 -05:00
parent 27ce5fd576
commit 89be2e73c7
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ from direct.gui.DirectGui import *
from toontown.toonbase import TTLocalizer
from direct.directnotify import DirectNotifyGlobal
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_POSITIONS = ((0, 0, 0.26),
(-0.03, 0, 0.25),
@ -177,8 +177,8 @@ class AvatarChoice(DirectButton):
def __handleChoice(self):
cleanupDialog('globalDialog')
messenger.send(self.doneEvent, ['chose', self.position])
UserFunnel.loggingAvID('write', str(self.avForLogging))
UserFunnel.logSubmit(0, 'AvatarChoice')
#UserFunnel.loggingAvID('write', str(self.avForLogging))
#UserFunnel.logSubmit(0, 'AvatarChoice')
def __handleCreate(self):
cleanupDialog('globalDialog')

View file

@ -7,6 +7,7 @@ from direct.actor import Actor
import string
from ToonHead import *
from pandac.PandaModules import *
from libotp import *
from direct.interval.IntervalGlobal import *
from direct.directnotify import DirectNotifyGlobal
from toontown.toonbase import ToontownGlobals