mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
Add note about why RoomID
is nulled in DeepClone
This commit is contained in:
@ -162,6 +162,8 @@ namespace osu.Game.Online.Rooms
|
|||||||
var copy = new Room();
|
var copy = new Room();
|
||||||
|
|
||||||
copy.CopyFrom(this);
|
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;
|
copy.RoomID.Value = null;
|
||||||
|
|
||||||
return copy;
|
return copy;
|
||||||
|
Reference in New Issue
Block a user