mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00: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;
|
||||
}
|
||||
|
||||
callbacks[score.OnlineID] = callback;
|
||||
callbacks.Add(score.OnlineID, callback);
|
||||
});
|
||||
|
||||
private void onUserChanged(APIUser? localUser) => Schedule(() =>
|
||||
|
Loading…
Reference in New Issue
Block a user