From be18f51f8a608e97c42ad8ca88844739b68b48da Mon Sep 17 00:00:00 2001 From: Sandbird Date: Tue, 29 Apr 2014 20:45:56 +0300 Subject: [PATCH] Update trade_any_vehicle.sqf Wrong value..probably a copy/paste from another file. --- SQF/dayz_code/actions/trade_any_vehicle.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/trade_any_vehicle.sqf b/SQF/dayz_code/actions/trade_any_vehicle.sqf index 46469b7ad..1c8e2cad6 100644 --- a/SQF/dayz_code/actions/trade_any_vehicle.sqf +++ b/SQF/dayz_code/actions/trade_any_vehicle.sqf @@ -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; \ No newline at end of file +DZE_ActionInProgress = false;