mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09: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:
@ -55,8 +55,6 @@ namespace osu.Game.Tests.Visual.RealtimeMultiplayer
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Client.AddUser(API.LocalUser.Value);
|
||||
});
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user