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
This commit is contained in:
Florian Kinder
2014-02-09 15:06:38 +01:00
parent 9ab91d74bc
commit d4416e8849

View File

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