mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 09:23:06 +08:00
Assign position to spinner ticks for correct positional playback
This commit is contained in:
parent
83bbe70374
commit
3ab13dd78c
@ -65,8 +65,8 @@ namespace osu.Game.Rulesets.Osu.Objects
|
|||||||
double startTime = StartTime + (float)(i + 1) / totalSpins * Duration;
|
double startTime = StartTime + (float)(i + 1) / totalSpins * Duration;
|
||||||
|
|
||||||
AddNested(i < SpinsRequired
|
AddNested(i < SpinsRequired
|
||||||
? new SpinnerTick { StartTime = startTime }
|
? new SpinnerTick { StartTime = startTime, Position = Position }
|
||||||
: new SpinnerBonusTick { StartTime = startTime });
|
: new SpinnerBonusTick { StartTime = startTime, Position = Position });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user