Fix player not exiting immediately on Alt-F4

This commit is contained in:
Dean Herbert
2020-06-23 17:38:30 +09:00
parent 4e025d994c
commit a6c6e391ca
2 changed files with 1 additions and 9 deletions

View File

@ -174,9 +174,7 @@ namespace osu.Game.Tests.Visual.Gameplay
[Test]
public void TestExitFromGameplay()
{
AddStep("exit", () => Player.Exit());
confirmPaused();
// an externally triggered exit should immediately exit, skipping all pause logic.
AddStep("exit", () => Player.Exit());
confirmExited();
}