Don't worry about EndPlaying being invoked when not playing

This commit is contained in:
Dean Herbert 2020-10-23 13:33:23 +09:00
parent f11bcfcb8f
commit e99cf369fa

View File

@ -194,9 +194,6 @@ namespace osu.Game.Online.Spectator
public void EndPlaying()
{
if (!isPlaying)
throw new InvalidOperationException($"Cannot invoke {nameof(EndPlaying)} when not playing");
isPlaying = false;
if (!isConnected) return;