Skip to content

Commit

Permalink
brah
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryFrosty committed Dec 29, 2024
1 parent d4950b0 commit b3044a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/objects/NoteSplash.hx
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,11 @@ class NoteSplash extends FlxSprite

function set_maxAnims(value:Int)
{
noteData = Std.int(FlxMath.wrap(noteData, 0, (value * Note.colArray.length) - 1));
if (value > 0)
noteData = Std.int(FlxMath.wrap(noteData, 0, (value * Note.colArray.length) - 1));
else
noteData = 0;

return maxAnims = value;
}
}
Expand Down

0 comments on commit b3044a0

Please sign in to comment.