mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix possible exception with "invalid" key
Triggered by toggling Shift+Tab during gameplay.
This commit is contained in:
@ -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];
|
||||
|
||||
|
Reference in New Issue
Block a user