mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 23:33:23 +08:00
Add note about why RoomID
is nulled in DeepClone
This commit is contained in:
parent
f14a9af801
commit
43c83d2de1
@ -162,6 +162,8 @@ namespace osu.Game.Online.Rooms
|
||||
var copy = new Room();
|
||||
|
||||
copy.CopyFrom(this);
|
||||
|
||||
// ID must be unset as we use this as a marker for whether this is a client-side (not-yet-created) room or not.
|
||||
copy.RoomID.Value = null;
|
||||
|
||||
return copy;
|
||||
|
Loading…
Reference in New Issue
Block a user