mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Do not unpack Clothings in Containers on Restart
This commit is contained in:
parent
120e2a624a
commit
3ef42f19e9
@ -27,7 +27,7 @@
|
|||||||
private [
|
private [
|
||||||
"_wepsItemsCargo","_magsAmmoCargo","_containers","_allContainers","_cargo","_magsAmmoCargox","_wepsItemsCargox","_magsAmmoCargoMinimized","_cargoIndex",
|
"_wepsItemsCargo","_magsAmmoCargo","_containers","_allContainers","_cargo","_magsAmmoCargox","_wepsItemsCargox","_magsAmmoCargoMinimized","_cargoIndex",
|
||||||
"_inventory","_ItemCargo","_ItemCargox"];
|
"_inventory","_ItemCargo","_ItemCargox"];
|
||||||
params [["_vehicle",objnull],["_unpack",true]];
|
params [["_vehicle",objnull],["_unpack",false]];
|
||||||
// may not be needed but should prevent <null> in DB.
|
// may not be needed but should prevent <null> in DB.
|
||||||
_wepsItemsCargo = weaponsItemsCargo _vehicle;
|
_wepsItemsCargo = weaponsItemsCargo _vehicle;
|
||||||
if (isNil "_wepsItemsCargo") then {
|
if (isNil "_wepsItemsCargo") then {
|
||||||
|
Loading…
Reference in New Issue
Block a user