Skip to content

Commit

Permalink
Update FlxAnimate.hx (CodenameCrew#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
DixNutzzz authored Dec 29, 2024
1 parent 17cc888 commit 76c07ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/backend/FlxAnimate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -92,4 +92,4 @@ class FlxAnimate extends flxanimate.FlxAnimate {
// TODO: ACTUAL OPTIMISATION
return true;
}
}
}

0 comments on commit 76c07ce

Please sign in to comment.