def __customMessagesChanged(self): self.clearMenu() try: lt = base.localAvatar except: return for msgIndex in lt.customMessages: if CustomSCStrings.has_key(msgIndex): self.append(SCCustomTerminal(msgIndex))
def __customMessagesChanged(self): # clear out everything from our menu self.clearMenu() # if local toon has not been created, don't panic try: lt = base.localAvatar except: return for msgIndex in lt.customMessages: if CustomSCStrings.has_key(msgIndex): self.append(SCCustomTerminal(msgIndex))