Makes map vote and roundstart smart about player count. (#5418)
* Makes map vote and roundstart smart about player count. No more Saltern with 30 players, or Knight Ship with 50. * a typo * Address reviews. * Localized.
This commit is contained in:
@@ -33,7 +33,10 @@ namespace Content.IntegrationTests
|
||||
(CCVars.HolidaysEnabled.Name, "false", false),
|
||||
|
||||
// Avoid loading a large map by default for integration tests if none has been specified.
|
||||
(CCVars.GameMap.Name, "Maps/Test/empty.yml", true)
|
||||
(CCVars.GameMap.Name, "empty", true),
|
||||
|
||||
// Makes sure IGameMapManager actually listens.
|
||||
(CCVars.GameMapForced.Name, "true", true)
|
||||
};
|
||||
|
||||
private static void SetServerTestCvars(IntegrationOptions options)
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Content.IntegrationTests.Tests.Commands
|
||||
{
|
||||
CVarOverrides =
|
||||
{
|
||||
[CCVars.GameMap.Name] = "Maps/saltern.yml"
|
||||
[CCVars.GameMap.Name] = "saltern"
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user