mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
canAdditem works on weapons.
This commit is contained in:
parent
de920e8874
commit
46a761a1c8
@ -32,7 +32,7 @@ if((count _this) > 3) then {
|
||||
_container = nil;
|
||||
};
|
||||
|
||||
if(!isNil "_container" && _type != "weapon") then {
|
||||
if(!isNil "_container") then {
|
||||
switch (_container) do {
|
||||
case "vest": { _canAdd = _unit canAddItemToVest _classname; };
|
||||
case "backpack": { _canAdd = _unit canAddItemToBackpack _classname; };
|
||||
|
Loading…
Reference in New Issue
Block a user