mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 18:12:56 +08:00
Pause playback when entering gameplay test from editor
Closes https://github.com/ppy/osu/issues/31290. Tend to agree that this is a good idea for gameplay test at least. Not sure about other similar interactions like exiting - I don't think it matters what's done in those cases, because for exiting timing is in no way key, so I just applied this locally to gameplay test.
This commit is contained in:
parent
ed397c8fee
commit
5abad07412
@ -523,6 +523,8 @@ namespace osu.Game.Screens.Edit
|
|||||||
|
|
||||||
public void TestGameplay()
|
public void TestGameplay()
|
||||||
{
|
{
|
||||||
|
clock.Stop();
|
||||||
|
|
||||||
if (HasUnsavedChanges)
|
if (HasUnsavedChanges)
|
||||||
{
|
{
|
||||||
dialogOverlay.Push(new SaveRequiredPopupDialog(() => attemptMutationOperation(() =>
|
dialogOverlay.Push(new SaveRequiredPopupDialog(() => attemptMutationOperation(() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user