1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-16 00:52:55 +08:00

Merge pull request #17253 from smoogipoo/fix-copy-room-date

Fix incorrect copied room end dates
This commit is contained in:
Dean Herbert 2022-03-15 12:01:27 +09:00 committed by GitHub
commit 4a8c909043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,6 +334,10 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
// ID must be unset as we use this as a marker for whether this is a client-side (not-yet-created) room or not.
r.RoomID.Value = null;
// Null out dates because end date is not supported client-side and the settings overlay will populate a duration.
r.EndDate.Value = null;
r.Duration.Value = null;
Open(r);
joiningRoomOperation?.Dispose();