Update ExileServer_object_vehicle_database_load.sqf

This commit is contained in:
Bones50 2018-08-09 22:03:02 +10:00 committed by GitHub
parent 12e6dc1587
commit fc8fc9fac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ if (_vehicleObject call ExileClient_util_world_isInTraderZone) then
_query = format["getVehicleAmmo:%1", _vehicleID] call ExileServer_system_database_query_selectSingle;
_savedMagazines = _query select 0;
_vehicleObject setVehicleAmmoDef 0;
_vehicleObject setVehicleAmmo 0;
{
private ["_turretPath", "_pylonIndex", "_magClass","_bulletAmount", "_magClass", "_maxMagAmmo", "_numMags"];
@ -172,4 +172,4 @@ _vehicleObject setVehicleAmmoDef 0;
}forEach _savedMagazines;
//End Custom Ammo Save
_vehicleObject
_vehicleObject