mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Compute combo for nested Objects. Display fruit depending on Combo for
osu!catch
This commit is contained in:
@ -44,6 +44,15 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public virtual void PostProcess()
|
||||
{
|
||||
foreach (var hitObject in Beatmap.HitObjects)
|
||||
{
|
||||
var objectComboInfo = (IHasComboInformation)hitObject;
|
||||
foreach (var obj in hitObject.NestedHitObjects.OfType<IHasComboInformation>())
|
||||
{
|
||||
obj.IndexInCurrentCombo = objectComboInfo.IndexInCurrentCombo;
|
||||
obj.ComboIndex = objectComboInfo.ComboIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user