Skip to content

Commit 66ee8f3

Browse files
authored
Merge pull request #190 from Cre8or/runningstuff
Ammo crates' locked status
2 parents a11d6f8 + 68c84ec commit 66ee8f3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

addons/overthrow_main/functions/save/fn_saveGame.sqf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ private _vehicles = (_tocheck) apply {
148148
/* 5 */ _x getVariable ["name",""],
149149
/* 6 */ _x getVariable ["OT_init",""]
150150
];
151-
if(_type isKindOf ["AllVehicles", _cfgVeh] && {!(_x getVariable ["OT_garrison",false])}) then {
151+
152+
if ((_type isKindOf ["AllVehicles", _cfgVeh] && !(_x getVariable ["OT_garrison",false])) or {_type isEqualTo OT_item_Storage}) then {
152153
private _veh = _x;
153154
private _ammo = (_x weaponsTurret [0]) apply {
154155
[_x,_veh ammo _x];

0 commit comments

Comments
 (0)