mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08: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