1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Revert changes to ScrenTestScene

This commit is contained in:
Dean Herbert 2020-03-11 15:52:18 +09:00
parent 2b33594400
commit 401429feec

View File

@ -38,11 +38,12 @@ namespace osu.Game.Tests.Visual
private void addExitAllScreensStep() private void addExitAllScreensStep()
{ {
AddStep("exit all screens", () => AddUntilStep("exit all screens", () =>
{ {
if (Stack.CurrentScreen == null) return; if (Stack.CurrentScreen == null) return true;
Stack.Exit(); Stack.Exit();
return false;
}); });
} }
} }