1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

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
{
Alpha = 0,
Blending = BlendingParameters.Additive,
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]

View File

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