Merge pull request #686 from Ignatz-HeMan/patch-12

Skip saving already killed Vehicles
This commit is contained in:
vbawol 2016-12-14 10:13:14 -06:00 committed by GitHub
commit 92d849e5c5

View File

@ -17,7 +17,7 @@ params [["_vehicle",objNull]];
if (!isNull _vehicle) then {
// if (!alive _vehicle) exitWith {diag_log format["DEBUG DEAD VEHICLE SKIPPED SAVE: %1 %2", _vehicle]};
if (!alive _vehicle) exitWith {diag_log format["DEBUG DEAD VEHICLE SKIPPED SAVE: %1 %2", _vehicle]};
_vehSlot = _vehicle getVariable["VEHICLE_SLOT", "ABORT"];
if (_vehSlot != "ABORT") then {