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:
parent
4c3e551295
commit
539dd3134f
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user