mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 13:33:03 +08:00
Fix notelocking by pressing a key before the swell's start time.
This commit is contained in:
parent
3d2c8f19ae
commit
1b3e908565
@ -138,9 +138,6 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
{
|
||||
if (userTriggered)
|
||||
{
|
||||
if (Time.Current < HitObject.StartTime)
|
||||
return;
|
||||
|
||||
userHits++;
|
||||
|
||||
innerRing.FadeTo(1);
|
||||
@ -211,6 +208,10 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
if (Judgement.Result.HasValue)
|
||||
return false;
|
||||
|
||||
// Don't handle keys before the swell starts
|
||||
if (Time.Current < HitObject.StartTime)
|
||||
return false;
|
||||
|
||||
// Find the keyset which this key corresponds to
|
||||
var keySet = rimKeys.Contains(key) ? rimKeys : centreKeys;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user