Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -167,7 +167,9 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
name = doc.Root.GetAttributeString(nameof(ServerSettings.Name), "Server");
|
||||
name = doc.Root.GetAttributeString(nameof(ServerSettings.ServerName),
|
||||
//backwards compatibility
|
||||
doc.Root.GetAttributeString("name", "Server"));
|
||||
port = doc.Root.GetAttributeInt(nameof(ServerSettings.Port), NetConfig.DefaultPort);
|
||||
queryPort = doc.Root.GetAttributeInt(nameof(ServerSettings.QueryPort), NetConfig.DefaultQueryPort);
|
||||
publiclyVisible = doc.Root.GetAttributeBool(nameof(ServerSettings.IsPublic), false);
|
||||
@@ -289,6 +291,12 @@ namespace Barotrauma
|
||||
}
|
||||
i++;
|
||||
break;
|
||||
case "-multiclienttestmode":
|
||||
#if DEBUG
|
||||
CharacterCampaignData.RequireClientNameMatch = true;
|
||||
#endif
|
||||
i++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user