mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Guard against IndexOutOfRange when parsing launch args
This commit is contained in:
parent
b650d0d17c
commit
88d9e2ec06
@ -32,7 +32,7 @@ namespace osu.Desktop
|
||||
var split = arg.Split('=');
|
||||
|
||||
var key = split[0];
|
||||
var val = split[1];
|
||||
var val = split.Length > 1 ? split[1] : string.Empty;
|
||||
|
||||
switch (key)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user