1
0
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:
rednir 2021-08-30 13:22:12 +01:00 committed by GitHub
parent 1aeae2b8c8
commit c789163d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,11 @@ namespace osu.Game
break;
case LinkAction.OpenUserProfile:
if (int.TryParse(link.Argument, out var userId))
ShowUser(userId);
else
ShowUser(link.Argument);
break;
case LinkAction.OpenWiki: