1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 18:07:19 +08:00

Fix beatmap processor not setting combo index on first object

This commit is contained in:
smoogipoo 2018-08-15 11:48:50 +09:00
parent 4c3e551295
commit 539dd3134f

View File

@ -27,11 +27,10 @@ namespace osu.Game.Beatmaps
if (obj.NewCombo)
{
obj.IndexInCurrentCombo = 0;
obj.ComboIndex = (lastObj?.ComboIndex ?? 0) + obj.ComboOffset + 1;
if (lastObj != null)
{
lastObj.LastInCombo = true;
obj.ComboIndex = lastObj.ComboIndex + 1;
}
}
else if (lastObj != null)
{