Falling asleep fix

This commit is contained in:
John 2015-08-05 13:54:18 +03:00
parent 7ad94d8034
commit c00680154d
4 changed files with 2 additions and 4 deletions

View file

@ -12,6 +12,7 @@ class DistributedChair(DistributedFurnitureItem):
self.dialog = None self.dialog = None
self.exitButton = None self.exitButton = None
self.avId = ToontownGlobals.CHAIR_NONE self.avId = ToontownGlobals.CHAIR_NONE
self.accept('exitingStoppedState', self.destroyGui)
def loadModel(self): def loadModel(self):
model = DistributedFurnitureItem.loadModel(self) model = DistributedFurnitureItem.loadModel(self)

View file

@ -10,6 +10,7 @@ class DistributedRewardCrate(DistributedFurnitureItem):
def __init__(self, cr): def __init__(self, cr):
DistributedFurnitureItem.__init__(self, cr) DistributedFurnitureItem.__init__(self, cr)
self.dialog = None self.dialog = None
self.accept('exitingStoppedState', self.destroyDialog)
def loadModel(self): def loadModel(self):
model = DistributedFurnitureItem.loadModel(self) model = DistributedFurnitureItem.loadModel(self)

View file

@ -13,10 +13,7 @@ class DistributedTV(DistributedFurnitureItem):
self.dialog = None self.dialog = None
self.screen = None self.screen = None
self.sound = None self.sound = None
def announceGenerate(self):
self.accept('exitingStoppedState', self.destroyGui) self.accept('exitingStoppedState', self.destroyGui)
DistributedFurnitureItem.announceGenerate(self)
def loadModel(self, animate=1): def loadModel(self, animate=1):
model = DistributedFurnitureItem.loadModel(self) model = DistributedFurnitureItem.loadModel(self)

View file

@ -5606,7 +5606,6 @@ NPCToonNames = {20000: 'Tutorial Tom',
2009: lHQOfficerF, 2009: lHQOfficerF,
2010: lHQOfficerF, 2010: lHQOfficerF,
2012: 'Fisherman Freddy', 2012: 'Fisherman Freddy',
2018: 'Duff..err..TIP Man',
2013: 'Clerk Poppy', 2013: 'Clerk Poppy',
2014: 'Clerk Peppy', 2014: 'Clerk Peppy',
2015: 'Clerk Pappy', 2015: 'Clerk Pappy',