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:
parent
724fe3d378
commit
d5b26b0ab5
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user