mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #686 from Ignatz-HeMan/patch-12
Skip saving already killed Vehicles
This commit is contained in:
commit
92d849e5c5
@ -17,7 +17,7 @@ params [["_vehicle",objNull]];
|
|||||||
|
|
||||||
if (!isNull _vehicle) then {
|
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"];
|
_vehSlot = _vehicle getVariable["VEHICLE_SLOT", "ABORT"];
|
||||||
if (_vehSlot != "ABORT") then {
|
if (_vehSlot != "ABORT") then {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user