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

Avoid cross-pollution between tests of current playing state

This commit is contained in:
Dean Herbert 2020-10-28 23:13:42 +09:00
parent 7cc4a7cb5c
commit 6c2cee7b3f

View File

@ -57,6 +57,8 @@ namespace osu.Game.Tests.Visual.Gameplay
Remove(testSpectatorStreamingClient); Remove(testSpectatorStreamingClient);
Add(testSpectatorStreamingClient); Add(testSpectatorStreamingClient);
}); });
finish();
} }
private OsuFramedReplayInputHandler replayHandler => private OsuFramedReplayInputHandler replayHandler =>
@ -212,6 +214,8 @@ namespace osu.Game.Tests.Visual.Gameplay
BeatmapID = beatmapId, BeatmapID = beatmapId,
RulesetID = 0, RulesetID = 0,
}); });
sentState = false;
} }
private bool sentState; private bool sentState;