Fix rewinding causing incorrectly stronged non-strong hits

This commit is contained in:
Dean Herbert 2023-07-07 15:13:25 +09:00
parent 755b82a308
commit 8b5d5c9ae2
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ private bool checkStrongValidity(TaikoAction newAction, TaikoAction? lastAction,
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)