mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Limit shake duration to ensure it doesn't overlap miss window
This commit is contained in:
@ -89,7 +89,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
var result = HitObject.HitWindows.ResultFor(timeOffset);
|
||||
if (result == HitResult.None)
|
||||
{
|
||||
Shake();
|
||||
Shake(Math.Abs(timeOffset) - HitObject.HitWindows.HalfWindowFor(HitResult.Miss));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user