From d4416e8849e451cb52574bc2df420a03b07f41b8 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sun, 9 Feb 2014 15:06:38 +0100 Subject: [PATCH] Fixed Error in expression remove buildings Error in expression <= getNumber(configFile >> "_objType" >> _classname >> "constructioncount"); diag> Error position: <_classname >> "constructioncount"); diag> Error Undefined variable in expression: _classname File z\addons\dayz_code\actions\remove.sqf, line 50 --- SQF/dayz_code/actions/remove.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index 6f690b608..9bb9744d7 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -41,7 +41,7 @@ if (DZE_StaticConstructionCount > 0) then { } else { if (isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then { - _limit = getNumber(configFile >> "_objType" >> _classname >> "constructioncount"); + _limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount"); }; };