mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 06:57:36 +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;
|
||||
}
|
||||
|
||||
callbacks[score.OnlineID] = callback;
|
||||
callbacks.Add(score.OnlineID, callback);
|
||||
});
|
||||
|
||||
private void onUserChanged(APIUser? localUser) => Schedule(() =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user