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:
parent
37841ca3aa
commit
a06f624a4a
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user