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:
parent
165a353a83
commit
93a999396e
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user