Fix later notes being hit before earlier ones
Bug introduced in 0.6.3 by this commit: https://github.com/FunkinCrew/Funkin/commit/c41c80099873e92d6b5d48de0276c03b1db8d04f
This commit is contained in:
@@ -69,7 +69,8 @@ class Strumline extends FlxSpriteGroup
|
||||
function get_renderDistanceMs():Float
|
||||
{
|
||||
if (useCustomRenderDistance) return customRenderDistanceMs;
|
||||
return FlxG.height / Constants.PIXELS_PER_MS / scrollSpeed;
|
||||
// Only divide by lower scroll speeds to fix renderDistance being too short. Dividing by higher scroll speeds breaks the input system by hitting later notes first!
|
||||
return FlxG.height / Constants.PIXELS_PER_MS / (scrollSpeed < 1 ? scrollSpeed : 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user