mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Do never empty Weaponholders! - Get deleted by the engine!
This commit is contained in:
parent
5576577472
commit
8fd48924d0
Binary file not shown.
@ -28,10 +28,12 @@ params [["_vehicle",objnull],["_items",[]]];
|
||||
private ["_subcontainersuffix"];
|
||||
_subcontainersuffix = [];
|
||||
|
||||
clearweaponcargoglobal _vehicle;
|
||||
clearitemcargoglobal _vehicle;
|
||||
clearmagazinecargoglobal _vehicle;
|
||||
clearbackpackcargoglobal _vehicle;
|
||||
if !(_vehicle iskindof "weaponholder") then {
|
||||
clearweaponcargoglobal _vehicle;
|
||||
clearitemcargoglobal _vehicle;
|
||||
clearmagazinecargoglobal _vehicle;
|
||||
clearbackpackcargoglobal _vehicle;
|
||||
};
|
||||
|
||||
{
|
||||
_objType = _forEachIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user