From 8b5d5c9ae2497a9dc24a932b65ec33db875fcdc0 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 7 Jul 2023 15:13:25 +0900 Subject: [PATCH] Fix rewinding causing incorrectly stronged non-strong hits --- osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs b/osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs index 310a4c1edb..08bde9a316 100644 --- a/osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs +++ b/osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs @@ -109,7 +109,7 @@ namespace osu.Game.Rulesets.Taiko.UI if (lastAction == null) return false; - if (timeBetweenActions > DrawableHit.StrongNestedHit.SECOND_HIT_WINDOW) + if (timeBetweenActions < 0 || timeBetweenActions > DrawableHit.StrongNestedHit.SECOND_HIT_WINDOW) return false; switch (newAction)