1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Use localisation parameters to find preferred string instead

This commit is contained in:
Joseph Madamba 2022-12-25 16:03:44 -08:00
parent b871d6f078
commit 8e899c2e92

View File

@ -354,7 +354,7 @@ namespace osu.Game
case LinkAction.SearchBeatmapSet:
if (link.Argument is RomanisableString romanisable)
SearchBeatmapSet(romanisable.GetPreferred(frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowUnicode).Value));
SearchBeatmapSet(romanisable.GetPreferred(Localisation.CurrentParameters.Value.PreferOriginalScript));
else
SearchBeatmapSet(argString);
break;