Merge pull request #794 from Ignatz-HeMan/patch-8

Clear Veh Cargo after upgrade
This commit is contained in:
vbawol 2017-07-27 08:16:41 -05:00 committed by GitHub
commit 1df663247b

View File

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