mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +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.
|
||||
|
||||
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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user