mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Made picking up explosives use the new AddToInventory function from common.
This commit is contained in:
parent
1e8a8e79fe
commit
703bc24657
@ -112,7 +112,7 @@ class CfgVehicles {
|
||||
displayName = "$STR_ACE_Explosives_Pickup";
|
||||
distance = 4;
|
||||
condition = "true";
|
||||
statement = QUOTE(_player addMagazine (_target getVariable QUOTE(QGVAR(class)));deleteVehicle _target;);
|
||||
statement = QUOTE([ARR_2(_player,_target getVariable QUOTE(QGVAR(class)))] call EFUNC(common,addToInventory);deleteVehicle _target;);
|
||||
showDisabled = 0;
|
||||
exceptions[] = {};
|
||||
priority = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user