1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 18:10:01 +08:00

Fix incorrect test spectator client implementation

This commit is contained in:
smoogipoo 2021-04-16 23:01:34 +09:00
parent 724fe3d378
commit d5b26b0ab5

View File

@ -321,7 +321,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
public override void WatchUser(int userId)
{
if (userSentStateDictionary.TryGetValue(userId, out var sent) && sent)
if (!PlayingUsers.Contains(userId) && userSentStateDictionary.TryGetValue(userId, out var sent) && sent)
{
// usually the server would do this.
sendState(userId, userBeatmapDictionary[userId]);