1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:43:22 +08:00

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);