suit: cleanup propeller before destroying it

This commit is contained in:
John Cote 2019-11-28 00:08:46 -05:00
parent d14f6303c0
commit 17ba625f73

View file

@ -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: