mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Always unbind bindings
This commit is contained in:
parent
3183827329
commit
b8b334ca27
@ -92,14 +92,13 @@ namespace osu.Game.Screens.Play.HUD
|
||||
if (configEnabled == null || healthProcessor == null)
|
||||
return;
|
||||
|
||||
enabled.UnbindBindings();
|
||||
|
||||
// Don't display ever if the ruleset is not using a draining health display.
|
||||
if (healthProcessor is DrainingHealthProcessor)
|
||||
enabled.BindTo(configEnabled);
|
||||
else
|
||||
{
|
||||
enabled.UnbindBindings();
|
||||
enabled.Value = false;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
Loading…
Reference in New Issue
Block a user