mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 22:22:55 +08:00
Stop clocks when removing them from sync manager
This commit is contained in:
parent
d5fcc5f762
commit
599145b46a
@ -61,7 +61,11 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|||||||
playerClocks.Add(clock);
|
playerClocks.Add(clock);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemovePlayerClock(ISpectatorPlayerClock clock) => playerClocks.Remove(clock);
|
public void RemovePlayerClock(ISpectatorPlayerClock clock)
|
||||||
|
{
|
||||||
|
playerClocks.Remove(clock);
|
||||||
|
clock.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user