mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Merge pull request #6031 from iiSaLMaN/set-health-default-value-to-1
Fix results screen pushed at the beginning of a gameplay Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
commit
358b46beea
@ -55,7 +55,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// <summary>
|
||||
/// The current health.
|
||||
/// </summary>
|
||||
public readonly BindableDouble Health = new BindableDouble { MinValue = 0, MaxValue = 1 };
|
||||
public readonly BindableDouble Health = new BindableDouble(1) { MinValue = 0, MaxValue = 1 };
|
||||
|
||||
/// <summary>
|
||||
/// The current combo.
|
||||
@ -233,6 +233,8 @@ namespace osu.Game.Rulesets.Scoring
|
||||
drawableRuleset.OnRevertResult += revertResult;
|
||||
|
||||
ApplyBeatmap(drawableRuleset.Beatmap);
|
||||
|
||||
Reset(false);
|
||||
SimulateAutoplay(drawableRuleset.Beatmap);
|
||||
Reset(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user