mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #823 from Ignatz-HeMan/patch-5
Fixed wrong EPOCH_InteractedItem on crates
This commit is contained in:
commit
ba3041ce8d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user