mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Don't worry about EndPlaying being invoked when not playing
This commit is contained in:
parent
f11bcfcb8f
commit
e99cf369fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user