Add support for keeping the key on vehicle sale

This commit is contained in:
oiad
2017-08-30 23:48:48 +12:00
committed by GitHub
parent 63bc345f9f
commit 7a40f5d621

View File

@@ -17,7 +17,7 @@ _containerFindKey = {
};
if ((count _VehKey2) > 0) then {
if ((_VehKey2 select 0) == "0" || _delType in DZE_tradeVehicleKeyless) then {
if ((_VehKey2 select 0) == "0" || _delType in DZE_tradeVehicleKeyless || DZE_keepVehicleKey) then {
_localResult2 = 1;
} else {
{
@@ -65,4 +65,4 @@ if ((count _VehKey2) > 0) then {
} else {
_localResult2 = 0;
};
_localResult2;
_localResult2;