Fix weird crash someone is having
This commit is contained in:
@@ -210,11 +210,12 @@ class FunkinSprite extends FlxSkewedSprite implements IBeatReceiver implements I
|
||||
{
|
||||
animateAtlas = FlxDestroyUtil.destroy(animateAtlas);
|
||||
|
||||
if (animOffsets != null){
|
||||
if (animOffsets != null) {
|
||||
for (key in animOffsets.keys()) {
|
||||
final point = animOffsets[key];
|
||||
animOffsets.remove(key);
|
||||
point.put();
|
||||
if(point != null)
|
||||
point.put();
|
||||
}
|
||||
animOffsets = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user