mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Skip saving already killed Vehicles
Server was deleting the Vehicle from DB and after hit is triggered, saved it again into DB with damage 1
This commit is contained in:
parent
fa834cebe4
commit
236651caa7
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user