mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Destroy head meter on toon destroy
This commit is contained in:
parent
e9842a8b65
commit
8262d5afa4
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue