mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 05:53:10 +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;
|
break;
|
||||||
|
|
||||||
case LinkAction.OpenUserProfile:
|
case LinkAction.OpenUserProfile:
|
||||||
ShowUser(link.Argument);
|
if (int.TryParse(link.Argument, out var userId))
|
||||||
|
ShowUser(userId);
|
||||||
|
else
|
||||||
|
ShowUser(link.Argument);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LinkAction.OpenWiki:
|
case LinkAction.OpenWiki:
|
||||||
|
Loading…
Reference in New Issue
Block a user