1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07: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.
using osuTK;
@ -194,6 +194,7 @@ namespace osu.Game.Rulesets.Osu.Objects
ComboIndex = ComboIndex,
});
break;
case SliderEventType.LegacyLastTick:
// 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.
// if this is to change, we should revisit this.

View File

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