1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-07-15 06:35:33 +00:00

Fix a crash on atlas characters.

This commit is contained in:
EliteMasterEric 2024-02-29 01:19:32 -05:00
parent 1d70ff95f9
commit 0139d5c4f6

View file

@ -191,7 +191,11 @@ class AnimateAtlasCharacter extends BaseCharacter
_skipTransformChildren = true;
super.kill();
_skipTransformChildren = false;
if (this.mainSprite != null)
{
this.mainSprite.kill();
this.mainSprite = null;
}
}
/**