mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Fix added throwables not being throwable (#9186)
Replace - addMagazineCargoGlobal with addItemTo(Uniform/Vest/Backpack to make added throwables throwable.
This commit is contained in:
parent
beffc7660c
commit
117c3092f8
@ -112,13 +112,13 @@ switch (_type select 0) do {
|
||||
|
||||
switch (_container) do {
|
||||
case "vest": {
|
||||
(vestContainer _unit) addMagazineCargoGlobal [_classname, 1/*_ammoCount*/]; //@todo Bug! This isn't really the ammo, but magazine count. No such command.
|
||||
_unit addItemToVest _classname; //@todo Bug! A full magazine, ignoring ammo. No such command.
|
||||
};
|
||||
case "backpack": {
|
||||
(backpackContainer _unit) addMagazineCargoGlobal [_classname, 1/*_ammoCount*/]; //@todo Bug! This isn't really the ammo, but magazine count. No such command.
|
||||
_unit addItemToBackpack _classname; //@todo Bug! A full magazine, ignoring ammo. No such command.
|
||||
};
|
||||
case "uniform": {
|
||||
(uniformContainer _unit) addMagazineCargoGlobal [_classname, 1/*_ammoCount*/]; //@todo Bug! This isn't really the ammo, but magazine count. No such command.
|
||||
_unit addItemToUniform _classname; //@todo Bug! A full magazine, ignoring ammo. No such command.
|
||||
};
|
||||
default {
|
||||
_unit addMagazine [_classname, _ammoCount];
|
||||
|
Loading…
Reference in New Issue
Block a user