mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Store max combo in ScoreProcessor.
This commit is contained in:
@ -21,6 +21,8 @@ namespace osu.Game.Modes
|
|||||||
|
|
||||||
public BindableInt Combo = new BindableInt();
|
public BindableInt Combo = new BindableInt();
|
||||||
|
|
||||||
|
public BindableInt MaximumCombo = new BindableInt();
|
||||||
|
|
||||||
public List<JudgementInfo> Judgements = new List<JudgementInfo>();
|
public List<JudgementInfo> Judgements = new List<JudgementInfo>();
|
||||||
|
|
||||||
public virtual void AddJudgement(JudgementInfo judgement)
|
public virtual void AddJudgement(JudgementInfo judgement)
|
||||||
@ -29,6 +31,9 @@ namespace osu.Game.Modes
|
|||||||
UpdateCalculations();
|
UpdateCalculations();
|
||||||
|
|
||||||
judgement.ComboAtHit = (ulong)Combo.Value;
|
judgement.ComboAtHit = (ulong)Combo.Value;
|
||||||
|
|
||||||
|
if (Combo.Value > MaximumCombo.Value)
|
||||||
|
MaximumCombo.Value = Combo.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user