From df6897de95851f8e1f2962f39db817e8e5b277e1 Mon Sep 17 00:00:00 2001 From: Defent Date: Sat, 29 Aug 2015 22:00:01 +0200 Subject: [PATCH] Formatting --- @ExileServer/addons/a3_dms/scripts/OnKilled.sqf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/@ExileServer/addons/a3_dms/scripts/OnKilled.sqf b/@ExileServer/addons/a3_dms/scripts/OnKilled.sqf index c1fce96..39ad48e 100644 --- a/@ExileServer/addons/a3_dms/scripts/OnKilled.sqf +++ b/@ExileServer/addons/a3_dms/scripts/OnKilled.sqf @@ -7,10 +7,8 @@ private ["_rockets","_launcher","_type","_mission","_unit","_player"]; call { - // then is faster than exitWith - if(_type == "ground") then { - ai_ground_units = (ai_ground_units -1); - }; + // then is faster than exitWith + if(_type == "ground") then { ai_ground_units = (ai_ground_units -1);}; // Not defined yet --> // if(_type == "air") exitWith { ai_air_units = (ai_air_units -1); }; @@ -103,4 +101,4 @@ private ["_rockets","_launcher","_type","_mission","_unit","_player"]; if (_unit hasWeapon "NVGoggles" && floor(random 100) < 20) then { _unit removeWeapon "NVGoggles"; }; - }; \ No newline at end of file + };