Merge pull request #16463 from frenzibyte/spinner-tick-position

Assign position to spinner ticks for correct positional sound playback
This commit is contained in:
Dean Herbert
2022-01-15 21:06:13 +09:00
committed by GitHub

View File

@ -65,8 +65,8 @@ namespace osu.Game.Rulesets.Osu.Objects
double startTime = StartTime + (float)(i + 1) / totalSpins * Duration;
AddNested(i < SpinsRequired
? new SpinnerTick { StartTime = startTime }
: new SpinnerBonusTick { StartTime = startTime });
? new SpinnerTick { StartTime = startTime, Position = Position }
: new SpinnerBonusTick { StartTime = startTime, Position = Position });
}
}