Change initial health to 1 to avoid false fail display

This commit is contained in:
Dean Herbert
2020-04-09 14:49:09 +09:00
parent 6db22366e2
commit c44957db3f
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ namespace osu.Game.Screens.Play.HUD
{ {
boxes = new Container boxes = new Container
{ {
Alpha = 0,
Blending = BlendingParameters.Additive, Blending = BlendingParameters.Additive,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Children = new Drawable[] Children = new Drawable[]

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Play.HUD
/// </summary> /// </summary>
public abstract class HealthDisplay : Container public abstract class HealthDisplay : Container
{ {
public readonly BindableDouble Current = new BindableDouble public readonly BindableDouble Current = new BindableDouble(1)
{ {
MinValue = 0, MinValue = 0,
MaxValue = 1 MaxValue = 1