From 89be2e73c75089bd058a6aa8d48c524781bc9407 Mon Sep 17 00:00:00 2001 From: John Cote Date: Sat, 23 Nov 2019 15:44:32 -0500 Subject: [PATCH] general: fix crash, disable UserFunnel --- toontown/login/AvatarChoice.py | 6 +++--- toontown/toon/Toon.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/toontown/login/AvatarChoice.py b/toontown/login/AvatarChoice.py index 3486ea6..9ee27c1 100644 --- a/toontown/login/AvatarChoice.py +++ b/toontown/login/AvatarChoice.py @@ -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') diff --git a/toontown/toon/Toon.py b/toontown/toon/Toon.py index a4e914b..ba693c0 100644 --- a/toontown/toon/Toon.py +++ b/toontown/toon/Toon.py @@ -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