mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update trade_any_vehicle.sqf
Wrong value..probably a copy/paste from another file.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user