Fix password in a better way

This commit is contained in:
smoogipoo
2021-08-17 09:40:25 +09:00
parent c4a42c4db0
commit 1e282432c9
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,8 @@ namespace osu.Game.Screens.OnlinePlay.Components
AddOrUpdateRoom(result);
room.CopyFrom(result); // Also copy back to the source model, since this is likely to have been stored elsewhere.
onSuccess?.Invoke(result);
// The server may not contain all properties (such as password), so invoke success with the given room.
onSuccess?.Invoke(room);
};
req.Failure += exception =>