Fix test incorrect sending state too often

This commit is contained in:
smoogipoo 2021-04-16 18:21:35 +09:00
parent ca74f413cd
commit 377e5ce6b3

View File

@ -312,7 +312,7 @@ namespace osu.Game.Tests.Visual.Gameplay
public override void WatchUser(int userId)
{
if (sentState)
if (!PlayingUsers.Contains(userId) && sentState)
{
// usually the server would do this.
sendState(beatmapId);