mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Always unbind bindings
This commit is contained in:
@ -92,14 +92,13 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
if (configEnabled == null || healthProcessor == null)
|
if (configEnabled == null || healthProcessor == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
enabled.UnbindBindings();
|
||||||
|
|
||||||
// Don't display ever if the ruleset is not using a draining health display.
|
// Don't display ever if the ruleset is not using a draining health display.
|
||||||
if (healthProcessor is DrainingHealthProcessor)
|
if (healthProcessor is DrainingHealthProcessor)
|
||||||
enabled.BindTo(configEnabled);
|
enabled.BindTo(configEnabled);
|
||||||
else
|
else
|
||||||
{
|
|
||||||
enabled.UnbindBindings();
|
|
||||||
enabled.Value = false;
|
enabled.Value = false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
|
Reference in New Issue
Block a user