mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Fix intermittent test fail due to duplicate user
`TestSceneRealtimeReadyButton` was manually adding `API.LocalUser`, which wasn't actually needed. The base `RealtimeMultiplayerTestScene` by default creates a new room as `API.LocalUser`, therefore automatically adding that user to the room - and as such there is no need to add them manually unless the `joinRoom` ctor param is specified as `false`.
This commit is contained in:
parent
3087aba5bc
commit
9843da59f4
@ -55,8 +55,6 @@ namespace osu.Game.Tests.Visual.RealtimeMultiplayer
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Client.AddUser(API.LocalUser.Value);
|
||||
});
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user