From ffd8f1f001eda769c2ed34822ca770af579beb55 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 31 Jul 2015 01:22:58 +0300 Subject: [PATCH] Oops, debug --- toontown/estate/DistributedChair.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/toontown/estate/DistributedChair.py b/toontown/estate/DistributedChair.py index 355469d0..7e1468ad 100644 --- a/toontown/estate/DistributedChair.py +++ b/toontown/estate/DistributedChair.py @@ -66,7 +66,6 @@ class DistributedChair(DistributedFurnitureItem.DistributedFurnitureItem): base.cr.playGame.getPlace().setState('walk') def setAvId(self, avId): - print 'Get av id %s' % avId if avId == ToontownGlobals.CHAIR_NONE: self.avId = avId return @@ -93,22 +92,17 @@ class DistributedChair(DistributedFurnitureItem.DistributedFurnitureItem): self.avId = avId def setStatus(self, status): - print 'Got status %s %s' % (status, self.avId) av = base.cr.doId2do.get(self.avId) if not av: - print 'RIP' return if status == ToontownGlobals.CHAIR_LOCKED: - print 'locked' self.locked = True if status == ToontownGlobals.CHAIR_UNEXPECTED_EXIT: - print 'unexpected' self.resetAvatar(av) else: - print 'rektangle' sitStartDuration = av.getDuration('sit-start') self.destroyGui() Sequence(Parallel(ActorInterval(av, 'sit-start', startTime=sitStartDuration, endTime=0.0), Sequence(Wait(sitStartDuration * 0.25), av.posInterval(sitStartDuration * 0.25, self.getChair()[2]))), Func(self.resetAvatar, av)).start()