From ce84757476067c9d5b63451f575ec147016f1dbd Mon Sep 17 00:00:00 2001 From: Chris Cardozo Date: Mon, 19 Nov 2018 10:08:01 -0500 Subject: [PATCH] Minor Code Tweaks Still have to consider HeMan's optimization for cleanupAliveAI --- .../custom_server/Compiles/Units/GMS_fnc_cleanupDeadAI.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_cleanupDeadAI.sqf b/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_cleanupDeadAI.sqf index c10490a..eab24c7 100644 --- a/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_cleanupDeadAI.sqf +++ b/@GMS/addons/custom_server/Compiles/Units/GMS_fnc_cleanupDeadAI.sqf @@ -18,7 +18,7 @@ if (blck_debugLevel > 2) then {diag_log format["fnc_cleanupDeadAI called at time private["_aiList","_ai"]; _aiList = +blck_deadAI; { - if ( diag_tickTime > _x getVariable ["blck_cleanupAt",0] ) then // DBD_DeleteAITimer + if (diag_tickTime > _x getVariable ["blck_cleanupAt",0]) then { _ai = _x; {