mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
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:
@@ -41,7 +41,7 @@ if (DZE_StaticConstructionCount > 0) then {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
|
if (isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
|
||||||
_limit = getNumber(configFile >> "_objType" >> _classname >> "constructioncount");
|
_limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount");
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user