1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 09:10:03 +08:00
Files
osu-lazer/osu.Game/Online
T
Dan Balasescu 67eb691c83 Fix room ids not being incremented in tests
Tests will
[preserve](https://github.com/ppy/osu/blob/f4c96ecb54ff7650e617597faa583f1f40ce323b/osu.Game/Tests/Visual/OnlinePlay/TestRoomRequestsHandler.cs#L270)
the incoming `RoomId` value if non-null.

But since now everything goes through
`MultiplayerClient.CreateRoom(MultiplayerRoom)` which internally creates
a representative `Room` to return in requests, this would previously
return a `Room` with `RoomId == 0` and not the expected `null` value.

The only consumer of this outside of tests is
[server-spectator](https://github.com/ppy/osu-server-spectator/blob/c1f33672cc2245614bdcfeb3109801b20a89c709/osu.Server.Spectator/Services/SharedInterop.cs#L147),
but only in the context of creating rooms at which point RoomId is
irrelevant.
67eb691c83 · 2025-03-28 21:49:52 +09:00
History
..
2025-03-27 14:58:03 +01:00
2025-03-04 16:15:40 +09:00
2024-12-03 00:00:31 +08:00
2024-02-29 01:21:17 +03:00
2022-11-27 00:00:27 +09:00
2022-11-02 11:44:16 +09:00
2022-11-02 13:16:34 +09:00
2022-11-27 00:00:27 +09:00