Give SpectatorState a user state

This commit is contained in:
Dan Balasescu
2022-02-01 15:51:41 +09:00
parent 38e075c522
commit 41007169f7
6 changed files with 52 additions and 6 deletions

View File

@ -55,7 +55,9 @@ namespace osu.Game.Rulesets.UI
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
spectatorClient?.EndPlaying();
if (spectatorClient != null && gameplayState != null)
spectatorClient.EndPlaying(gameplayState);
}
protected override void Update()