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"); }; };