remove factory menu on exit

This commit is contained in:
Samir Naik 2003-10-03 18:08:39 +00:00
parent 891c04db07
commit 69b650ec4d

View File

@ -224,6 +224,9 @@ class DistributedLevel(DistributedObject.DistributedObject,
def delete(self):
self.notify.debug('delete')
DistributedObject.DistributedObject.delete(self)
# remove factory menu to SpeedChat
toonbase.localToon.chatMgr.chatInputSpeedChat.removeFactoryMenu()
def getDoorwayNode(self, doorwayNum):
# returns node that doors should parent themselves to
return self.doorwayNum2Node[doorwayNum]