From 08f23b996877a4d4304f606b8a45dddae71a153c Mon Sep 17 00:00:00 2001 From: second_coming Date: Sun, 13 Mar 2016 20:55:27 +0000 Subject: [PATCH] Update occupation.sqf --- occupation.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/occupation.sqf b/occupation.sqf index 81ba6e0..535179c 100644 --- a/occupation.sqf +++ b/occupation.sqf @@ -25,7 +25,7 @@ _debug = false; // set to true for debug log information _currentPlayerCount = count playableUnits; if(_currentPlayerCount > _scaleAI) then { - _maxAIcount = _maxAIcount - _currentPlayerCount ; + _maxAIcount = _maxAIcount - (_currentPlayerCount - _scaleAI) ; }; // Don't spawn additional AI if the server fps is below _minFPS