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

Fix possible exception with "invalid" key

Triggered by toggling Shift+Tab during gameplay.
This commit is contained in:
smoogipoo 2021-10-20 15:03:15 +09:00
parent 37841ca3aa
commit a06f624a4a

View File

@ -29,6 +29,9 @@ namespace osu.Game.Localisation
{
var split = lookup.Split(':');
if (split.Length < 2)
return null;
string ns = split[0];
string key = split[1];