From ec5e9b35afe85ebda8c4aa161c0051868f47ff08 Mon Sep 17 00:00:00 2001 From: second_coming Date: Wed, 22 Jun 2016 16:34:43 +0100 Subject: [PATCH] Update occupationTransport.sqf --- scripts/occupationTransport.sqf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/occupationTransport.sqf b/scripts/occupationTransport.sqf index 7203d08..1986465 100644 --- a/scripts/occupationTransport.sqf +++ b/scripts/occupationTransport.sqf @@ -250,9 +250,10 @@ while {true} do }; deleteMarker _mk; _transport setDamage 1; + _logDetail = format ["[OCCUPATION:transport]:: Transport destroyed @ %1 (%2)",_pos,time]; + [_logDetail] call SC_fnc_log; }; - _logDetail = format ["[OCCUPATION:transport]:: Transport destroyed @ %1 (%2)",_pos,time]; - [_logDetail] call SC_fnc_log; + if(_markerCount < 2) exitWith {}; // Spawn another heli uiSleep 15; // delay the start