Don't send spectate data when an autoplay mod is active

This commit is contained in:
Dean Herbert 2020-10-23 14:47:21 +09:00
parent 55f1b05dbf
commit 4fca7675b0

View File

@ -152,7 +152,9 @@ namespace osu.Game.Screens.Play
{
base.LoadComplete();
PrepareReplay();
// replays should never be recorded or played back when autoplay is enabled
if (!Mods.Value.Any(m => m is ModAutoplay))
PrepareReplay();
}
private Replay recordingReplay;