(f0d812055) v0.9.9.0

This commit is contained in:
Joonas Rikkonen
2020-04-23 19:19:37 +03:00
parent b647059b93
commit ac37a3b0e4
391 changed files with 15054 additions and 5420 deletions
@@ -240,13 +240,13 @@ namespace Barotrauma
name = null; endpoint = null; lobbyId = 0;
if (args == null || args.Length < 2) { return; }
if (args[0].Equals("-connect", StringComparison.InvariantCultureIgnoreCase))
if (args[0].Equals("-connect", StringComparison.OrdinalIgnoreCase))
{
if (args.Length < 3) { return; }
name = args[1];
endpoint = args[2];
}
else if (args[0].Equals("+connect_lobby", StringComparison.InvariantCultureIgnoreCase))
else if (args[0].Equals("+connect_lobby", StringComparison.OrdinalIgnoreCase))
{
UInt64.TryParse(args[1], out lobbyId);
}