mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #794 from Ignatz-HeMan/patch-8
Clear Veh Cargo after upgrade
This commit is contained in:
commit
1df663247b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user