mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-11 07:55:01 +00:00
Fix for another reported crash
This commit is contained in:
parent
079b1f327a
commit
9ffbc8479c
|
@ -214,6 +214,7 @@ class FunkinSprite extends FlxSprite
|
|||
for (graphicKey in previousCachedTextures.keys())
|
||||
{
|
||||
var graphic = previousCachedTextures.get(graphicKey);
|
||||
if (graphic == null) continue;
|
||||
FlxG.bitmap.remove(graphic);
|
||||
graphic.destroy();
|
||||
previousCachedTextures.remove(graphicKey);
|
||||
|
|
Loading…
Reference in a new issue