Destroy head meter on toon destroy

This commit is contained in:
John 2015-06-07 20:29:15 +03:00 committed by Loudrob
parent e9842a8b65
commit 8262d5afa4

View file

@ -544,6 +544,11 @@ class Toon(Avatar.Avatar, ToonHead):
self.soundTeleport = None
self.motion.delete()
self.motion = None
if self.headMeter:
self.headMeter.destroy()
self.headMeter = None
Avatar.Avatar.delete(self)
ToonHead.delete(self)