mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-10-05 17:00:39 +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;
|
||||||
this.mainSprite.kill();
|
if (this.mainSprite != null)
|
||||||
|
{
|
||||||
|
this.mainSprite.kill();
|
||||||
|
this.mainSprite = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue