oh my fucking god im so dumb

This commit is contained in:
Yoshman29
2023-03-28 16:49:50 +02:00
parent e5ac8f1614
commit 4ebd65a36d
2 changed files with 16 additions and 3 deletions
+3 -1
View File
@@ -36,7 +36,9 @@ class OptimizedBitmapData extends BitmapData {
readable = true;
this.image = null;
MemoryUtil.clearMinor();
@:privateAccess
if (FlxG.bitmap.__doNotDelete)
MemoryUtil.clearMinor();
}
#end
}