1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Fix fudge not being applied

This commit is contained in:
Dean Herbert 2023-10-20 20:18:14 +09:00
parent 1be49f5b93
commit 906b700aca
No known key found for this signature in database

View File

@ -55,7 +55,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
// It works out to under 1 game pixel and is generally not meaningful to gameplay, but is to replay playback accuracy.
const float broken_gamefield_rounding_allowance = 1.00041f;
return (float)(1.0f - 0.7f * IBeatmapDifficultyInfo.DifficultyRange(circleSize)) / 2 * broken_gamefield_rounding_allowance;
return (float)(1.0f - 0.7f * IBeatmapDifficultyInfo.DifficultyRange(circleSize)) / 2 * (applyFudge ? broken_gamefield_rounding_allowance : 1);
}
}
}