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