Fix blank remove attachment text M4, M240, L110

Some attachments were using incorrect string names.
This commit is contained in:
ebaydayz
2016-04-03 20:16:34 -04:00
parent e69364991c
commit 37277613c1
16 changed files with 46 additions and 49 deletions

View File

@@ -23,7 +23,7 @@ if (count _inventory > 0) then {
if (DZE_UseBloodTypes) then {
if (_item == "ItemBloodbag") then { _item = "bloodBagONEG" }; // Convert ItemBloodbag into universal blood type/rh bag
} else {
if (_item in DZE_typedBags) then { _item = "ItemBloodbag" };
if (_item in dayz_typedBags) then { _item = "ItemBloodbag" };
};
//Is item legal?

View File

@@ -8,7 +8,7 @@ _itemData = gearSlotData _control;
if (carryClick) then {carryClick = false;};
// No right click option on bloodbags if DZE_SelfTransfuse = false;
if (!DZE_SelfTransfuse && {(_itemData == "ItemBloodbag") or (_itemData in DZE_typedBags)}) exitWith {};
if (!DZE_SelfTransfuse && {(_itemData == "ItemBloodbag") or (_itemData in dayz_typedBags)}) exitWith {};
if (_button == 1) then {
private ["_conf","_name","_compile","_height","_item"];