Skip to content

Commit

Permalink
Merge pull request #991 from Vdauphin/FIX-Object-saved-twice
Browse files Browse the repository at this point in the history
FIX: ViV objects are saved twice
  • Loading branch information
Vdauphin authored Nov 9, 2020
2 parents ba371b1 + 8136bb8 commit e7987f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/save.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ private _array_obj = [];
};
} forEach (btc_log_obj_created select {
!(isObjectHidden _x) &&
(objectParent _x) isEqualTo objNull
isNull objectParent _x &&
isNull isVehicleCargo _x
});
profileNamespace setVariable [format ["btc_hm_%1_objs", _name], _array_obj];

Expand Down

0 comments on commit e7987f7

Please sign in to comment.