1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

LegacyFinalTick -> LegacyLastTick to match existing variable

This commit is contained in:
Dean Herbert 2019-03-08 20:13:11 +09:00
parent 165a353a83
commit 93a999396e
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osuTK; using osuTK;
@ -194,6 +194,7 @@ namespace osu.Game.Rulesets.Osu.Objects
ComboIndex = ComboIndex, ComboIndex = ComboIndex,
}); });
break; break;
case SliderEventType.LegacyLastTick:
// we need to use the LegacyLastTick here for compatibility reasons (difficulty). // we need to use the LegacyLastTick here for compatibility reasons (difficulty).
// it is *okay* to use this because the TailCircle is not used for any meaningful purpose in gameplay. // it is *okay* to use this because the TailCircle is not used for any meaningful purpose in gameplay.
// if this is to change, we should revisit this. // if this is to change, we should revisit this.

View File

@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Objects
yield return new SliderEventDescriptor yield return new SliderEventDescriptor
{ {
Type = SliderEventType.LegacyFinalTick, Type = SliderEventType.LegacyLastTick,
SpanIndex = finalSpanIndex, SpanIndex = finalSpanIndex,
SpanStartTime = finalSpanStartTime, SpanStartTime = finalSpanStartTime,
StartTime = finalSpanTime, StartTime = finalSpanTime,
@ -120,7 +120,7 @@ namespace osu.Game.Rulesets.Objects
public enum SliderEventType public enum SliderEventType
{ {
Tick, Tick,
LegacyFinalTick, LegacyLastTick,
Head, Head,
Tail, Tail,
Repeat Repeat