mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Fix blank remove attachment text M4, M240, L110
Some attachments were using incorrect string names.
This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user