Fix sleep task

This commit is contained in:
Daniel 2015-03-08 15:07:29 +02:00
parent 1c6b541311
commit d80da06200

View file

@ -130,7 +130,7 @@ class DistributedNPCGlove(DistributedNPCToonBase):
def enterPickColor(self):
base.cr.playGame.getPlace().setState('stopped')
taskMgr.doMethodLater(45, self.exitPickColor, 'npcSleepTask-%s' % self.doId)
taskMgr.doMethodLater(45, self.leave, 'npcSleepTask-%s' % self.doId)
self.setChatAbsolute('', CFSpeech)
if base.localAvatar.getMoney() < ToontownGlobals.GloveCost: