mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-19 06:24:56 +00:00
Fix a crash on atlas characters.
This commit is contained in:
parent
1d70ff95f9
commit
0139d5c4f6
|
@ -191,7 +191,11 @@ class AnimateAtlasCharacter extends BaseCharacter
|
||||||
_skipTransformChildren = true;
|
_skipTransformChildren = true;
|
||||||
super.kill();
|
super.kill();
|
||||||
_skipTransformChildren = false;
|
_skipTransformChildren = false;
|
||||||
|
if (this.mainSprite != null)
|
||||||
|
{
|
||||||
this.mainSprite.kill();
|
this.mainSprite.kill();
|
||||||
|
this.mainSprite = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue