suit: cleanup propeller before destroying it
This commit is contained in:
parent
d14f6303c0
commit
17ba625f73
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ class DistributedSuitBase(DistributedAvatar.DistributedAvatar, Suit.Suit, SuitBa
|
|||
|
||||
def detachPropeller(self):
|
||||
if self.prop:
|
||||
self.prop.cleanup()
|
||||
self.prop.removeNode()
|
||||
self.prop = None
|
||||
if self.propInSound:
|
||||
|
|
Loading…
Reference in a new issue