From 76c07cef30bda2e3718f2220cd3931e3fdc7ca75 Mon Sep 17 00:00:00 2001 From: DixNutzzz Date: Sun, 29 Dec 2024 18:15:11 +1100 Subject: [PATCH] Update FlxAnimate.hx (#512) --- source/funkin/backend/FlxAnimate.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/backend/FlxAnimate.hx b/source/funkin/backend/FlxAnimate.hx index 6624713f9..cd06b5148 100644 --- a/source/funkin/backend/FlxAnimate.hx +++ b/source/funkin/backend/FlxAnimate.hx @@ -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; } -} \ No newline at end of file +}