mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 06:23:47 +08: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();
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user