private int MaxFastDiff()
{
// maximum difference that is still considered balanced, for fast balancing
if (fTestFastBalance) return 1;
if (fServerInfo == null) return 2;
PerModeSettings perMode = null;
String simpleMode = String.Empty;
perMode = GetPerModeSettings();
int lowFloor = (perMode.EnableLowPopulationAdjustments) ? 1 : 2;
if (IsSQDM()) {
return ((TotalPlayerCount() <= 32) ? lowFloor : 3);
}
if (!perMode.isDefault)
return ((GetPopulation(perMode, false) == Population.Low) ? lowFloor : 3);
return 2;
}