Merge pull request #823 from Ignatz-HeMan/patch-5

Fixed wrong EPOCH_InteractedItem on crates
This commit is contained in:
vbawol 2017-08-13 23:46:22 -05:00 committed by GitHub
commit ba3041ce8d

View File

@ -46,8 +46,8 @@ if (_data == "") then {
_container = switch (_idc) do {
case 633: { uniformContainer player };
case 638: { vestContainer player };
case 632: { EPOCH_targetContainer };
case 640: { EPOCH_secondaryContainer };
case 632: { if (isnull EPOCH_secondaryContainer) then {EPOCH_targetContainer} else {EPOCH_secondaryContainer} };
case 640: { EPOCH_targetContainer };
default { backpackContainer player };
};
_weaponsAndItems = ((getWeaponCargo _container) select 0);