mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Fix glove NPC crash
This commit is contained in:
parent
d364b587f4
commit
9d49b038e5
1 changed files with 2 additions and 2 deletions
|
@ -176,10 +176,10 @@ class DistributedNPCGlove(DistributedNPCToonBase):
|
|||
self.sendUpdate('requestTransformation', [color])
|
||||
self.reset()
|
||||
|
||||
def leave(self):
|
||||
def leave(self, task=None):
|
||||
self.setChatAbsolute('', CFSpeech)
|
||||
self.setChatAbsolute(TTLocalizer.GloveByeMessage, CFSpeech|CFTimeout)
|
||||
self.reset()
|
||||
self.reset(task)
|
||||
|
||||
def reset(self, task=None):
|
||||
self.fsm.request('off')
|
||||
|
|
Loading…
Reference in a new issue