Update FlxAnimate.hx (#512)

This commit is contained in:
DixNutzzz
2024-12-29 08:15:11 +01:00
committed by GitHub
parent 17cc888e61
commit 76c07cef30
+2 -2
View File
@@ -17,7 +17,7 @@ class FlxAnimate extends flxanimate.FlxAnimate {
if (alpha == 0 || colorTransform != null && (colorTransform.alphaMultiplier == 0 || colorTransform.alphaOffset == -255) || limb == null || limb.type == EMPTY)
return;
if (blendMode != null)
if (blendMode == null)
blendMode = BlendMode.NORMAL;
for (camera in cameras)
@@ -92,4 +92,4 @@ class FlxAnimate extends flxanimate.FlxAnimate {
// TODO: ACTUAL OPTIMISATION
return true;
}
}
}