Fix HUD test having out of date value

This commit is contained in:
smoogipoo 2020-10-30 18:26:38 +09:00
parent 0ef1459f4b
commit 43f9c1ebea
1 changed files with 2 additions and 1 deletions

View File

@ -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));