Update occupation.sqf

This commit is contained in:
second_coming
2016-03-13 20:55:27 +00:00
parent 807392ae7b
commit 08f23b9968

View File

@ -25,7 +25,7 @@ _debug = false; // set to true for debug log information
_currentPlayerCount = count playableUnits; _currentPlayerCount = count playableUnits;
if(_currentPlayerCount > _scaleAI) then if(_currentPlayerCount > _scaleAI) then
{ {
_maxAIcount = _maxAIcount - _currentPlayerCount ; _maxAIcount = _maxAIcount - (_currentPlayerCount - _scaleAI) ;
}; };
// Don't spawn additional AI if the server fps is below _minFPS // Don't spawn additional AI if the server fps is below _minFPS