Skip to content

Commit

Permalink
fix logic error in BGScrollingText
Browse files Browse the repository at this point in the history
  • Loading branch information
lemz1 committed Nov 17, 2024
1 parent 3d8de7b commit 34cee3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/ui/freeplay/BGScrollingText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class BGScrollingText extends FlxSpriteGroup
}
else
{
if (txt.x > txt.frameWidth * 2)
if (txt.x > widthShit)
{
txt.x = grpTexts.group.members[0].x - grpTexts.group.members[0].frameWidth - placementOffset;

Expand Down

0 comments on commit 34cee3d

Please sign in to comment.