Clear Veh Cargo after upgrade

This commit is contained in:
He-Man 2017-07-26 22:40:34 +02:00 committed by GitHub
parent f2b0aab6e6
commit f70d2f7a4a

View File

@ -107,6 +107,10 @@ if(["CfgDynamicSimulation", "vehicleDynamicSimulationSystem", true] call EPOCH_f
// add back old inventory
clearWeaponCargoGlobal _newveh;
clearMagazineCargoGlobal _newveh;
clearBackpackCargoGlobal _newveh;
clearItemCargoGlobal _newveh;
[_newveh,_cargo] call EPOCH_server_CargoFill;
// save new vehicle to db