mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix potentially overwriting user ID from failed request
This commit is contained in:
@ -225,11 +225,7 @@ namespace osu.Game.Tournament
|
||||
success?.Invoke();
|
||||
};
|
||||
|
||||
req.Failure += _ =>
|
||||
{
|
||||
user.Id = 1;
|
||||
failure?.Invoke();
|
||||
};
|
||||
req.Failure += _ => failure?.Invoke();
|
||||
|
||||
if (immediate)
|
||||
API.Perform(req);
|
||||
|
Reference in New Issue
Block a user