1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

Fix leaderboard being queried on room creation

This commit is contained in:
smoogipoo 2018-12-25 13:57:25 +09:00
parent bcd3584df0
commit 91b83cd4b8

View File

@ -28,8 +28,11 @@ namespace osu.Game.Screens.Multi.Match.Components
[BackgroundDependencyLoader]
private void load()
{
room.RoomID.BindValueChanged(_ =>
room.RoomID.BindValueChanged(id =>
{
if (id == null)
return;
Scores = null;
UpdateScores();
}, true);