mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix attempting to populate users with invalid IDs
This commit is contained in:
@ -277,7 +277,8 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
userId.Value = user.Id.ToString();
|
||||
userId.BindValueChanged(idString =>
|
||||
{
|
||||
int.TryParse(idString.NewValue, out var parsed);
|
||||
if (!(int.TryParse(idString.NewValue, out var parsed)))
|
||||
return;
|
||||
|
||||
user.Id = parsed;
|
||||
|
||||
|
Reference in New Issue
Block a user