Fix random spawned vehicle loot saving

Dynamic vehicle loot will save to database now even if no players
interact with the vehicle before restart.
This commit is contained in:
ebaydayz
2016-09-12 12:23:23 -04:00
parent 66ac72ea9d
commit d98025c8d9
3 changed files with 9 additions and 5 deletions

View File

@@ -82,6 +82,6 @@ if (count AllowedVehiclesList == 0) then {
};
[_veh,[_dir,_objPosition],_vehicle,true,"0"] call server_publishVeh;
[_veh, "gear"] call server_updateObject;
_vehiclesToUpdate set [count _vehiclesToUpdate,_veh];
};
};