Update trade_any_vehicle.sqf

Wrong value..probably a copy/paste from another file.
This commit is contained in:
Sandbird
2014-04-29 20:45:56 +03:00
parent 92c80a2b7b
commit be18f51f8a

View File

@@ -235,7 +235,7 @@ if (_finished) then {
_temp_keys = [];
_keyColor = ["ItemKeyYellow","ItemKeyBlue","ItemKeyRed","ItemKeyGreen","ItemKeyBlack"];
{
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _key_colors) then {
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _keyColor) then {
if (getNumber(configFile >> "CfgWeapons" >> _x >> "keyid") == _objectCharacterId) then {
[_activatingPlayer,_x] call BIS_fnc_invRemove;
};
@@ -267,4 +267,4 @@ if (_finished) then {
};
};
};
DZE_ActionInProgress = false;
DZE_ActionInProgress = false;