1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:42:56 +08:00

fix doubletap cheese detect (base on hitwindow)

This commit is contained in:
apollo-dw 2021-09-02 17:14:23 +01:00
parent d9cc497801
commit 0d60076f34

View File

@ -47,7 +47,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
double deltaTime = current.DeltaTime;
// Aim to nerf cheesy rhythms (Very fast consecutive doubles with large deltatimes between)
if (Previous.Count > 0)
if (Previous.Count > 0 && deltaTime <= greatWindow * 2)
{
deltaTime = Math.Max(Previous[0].DeltaTime, deltaTime);
}