1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:42:57 +08:00

Fix notelocking by pressing a key before the swell's start time.

This commit is contained in:
smoogipooo 2017-03-29 16:02:12 +09:00
parent 3d2c8f19ae
commit 1b3e908565

View File

@ -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;