mirror of https://github.com/ppy/osu
Fix HUD test having out of date value
This commit is contained in:
parent
0ef1459f4b
commit
43f9c1ebea
|
@ -77,7 +77,8 @@ public void TestMomentaryShowHUD()
|
|||
{
|
||||
createNew();
|
||||
|
||||
HUDVisibilityMode originalConfigValue = HUDVisibilityMode.HideDuringBreaks;
|
||||
HUDVisibilityMode originalConfigValue = HUDVisibilityMode.HideDuringGameplay;
|
||||
|
||||
AddStep("get original config value", () => originalConfigValue = config.Get<HUDVisibilityMode>(OsuSetting.HUDVisibilityMode));
|
||||
|
||||
AddStep("set hud to never show", () => config.Set(OsuSetting.HUDVisibilityMode, HUDVisibilityMode.Never));
|
||||
|
|
Loading…
Reference in New Issue