mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
use user ID overload when its supposed to be used
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
1aeae2b8c8
commit
c789163d01
@ -329,7 +329,11 @@ namespace osu.Game
|
||||
break;
|
||||
|
||||
case LinkAction.OpenUserProfile:
|
||||
ShowUser(link.Argument);
|
||||
if (int.TryParse(link.Argument, out var userId))
|
||||
ShowUser(userId);
|
||||
else
|
||||
ShowUser(link.Argument);
|
||||
|
||||
break;
|
||||
|
||||
case LinkAction.OpenWiki:
|
||||
|
Loading…
Reference in New Issue
Block a user