Allow non-openra:// Launch.URI prefixes.

This commit is contained in:
Paul Chote
2017-04-16 17:17:01 +01:00
parent 4c990e48d7
commit b5523d6b3f

View File

@@ -43,7 +43,7 @@ namespace OpenRA
connect = Connect;
if (!string.IsNullOrEmpty(URI))
connect = URI.Replace("openra://", "").TrimEnd('/');
connect = URI.Substring(URI.IndexOf("://", System.StringComparison.Ordinal) + 3).TrimEnd('/');
return connect;
}