1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00

Remove unnecessary local

This commit is contained in:
Bartłomiej Dach 2022-03-22 19:13:22 +01:00
parent 94c5207f36
commit c8d48f89e8
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -269,9 +269,8 @@ namespace osu.Game.Tests.Visual.Navigation
AddStep("Enable autoplay", () => { Game.SelectedMods.Value = new[] { osuAutomationMod }; });
Screens.OnlinePlay.Multiplayer.Multiplayer multiplayer = null;
PushAndConfirm(() => multiplayer = new Screens.OnlinePlay.Multiplayer.Multiplayer());
AddUntilStep("Mods are removed", () => multiplayer.Mods.Value.Count == 0);
PushAndConfirm(() => new Screens.OnlinePlay.Multiplayer.Multiplayer());
AddUntilStep("Mods are removed", () => Game.SelectedMods.Value.Count == 0);
AddStep("Return to menu", () => Game.ScreenStack.CurrentScreen.Exit());
AddUntilStep("Mods are restored", () => Game.SelectedMods.Value.Contains(osuAutomationMod));