mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 15:07:20 +09:00
Add callback to dictionary rather than overwrite
Attempting to overwrite will henceforth throw an exception.
This commit is contained in:
parent
6c4ca387e0
commit
78c47a3695
@ -62,7 +62,7 @@ namespace osu.Game.Online.Solo
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
callbacks[score.OnlineID] = callback;
|
callbacks.Add(score.OnlineID, callback);
|
||||||
});
|
});
|
||||||
|
|
||||||
private void onUserChanged(APIUser? localUser) => Schedule(() =>
|
private void onUserChanged(APIUser? localUser) => Schedule(() =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user