mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Change the logic so the last button gets unpressed instead of staying pressed forever
This commit is contained in:
parent
386d788813
commit
aa3651f65e
@ -115,7 +115,7 @@ namespace osu.Game.Rulesets.Taiko.Replays
|
||||
|
||||
TaikoHitObject nextHitObject = i < Beatmap.HitObjects.Count - 1 ? Beatmap.HitObjects[i + 1] : null;
|
||||
|
||||
bool canDelayKeyUp = nextHitObject != null && nextHitObject.StartTime > endTime + KEY_UP_DELAY;
|
||||
bool canDelayKeyUp = nextHitObject == null || nextHitObject.StartTime > endTime + KEY_UP_DELAY;
|
||||
|
||||
if (canDelayKeyUp)
|
||||
Frames.Add(new TaikoReplayFrame(endTime + KEY_UP_DELAY));
|
||||
|
Loading…
Reference in New Issue
Block a user