1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 20:03:21 +08:00

Merge pull request #13989 from Henry-YSLin/fix-launch-args-parsing

Guard against `IndexOutOfRangeException` when parsing launch arguments
This commit is contained in:
Dean Herbert 2021-07-23 12:14:23 +09:00 committed by GitHub
commit befab14a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{