From 545014b07391c2cbcfb7ed1b0fd57664158c1cd6 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Tue, 7 Apr 2015 20:47:36 +0200 Subject: [PATCH] missing return value --- addons/medical/functions/fnc_determineIfFatal.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical/functions/fnc_determineIfFatal.sqf b/addons/medical/functions/fnc_determineIfFatal.sqf index 978aa16b2b..6c90e54da3 100644 --- a/addons/medical/functions/fnc_determineIfFatal.sqf +++ b/addons/medical/functions/fnc_determineIfFatal.sqf @@ -16,7 +16,7 @@ _part = _this select 1; _withDamage = if (count _this > 2) then { _this select 2} else {0}; if (!alive _unit) exitwith {true}; -if (_part < 0 || _part > 5) exitwith {}; +if (_part < 0 || _part > 5) exitwith {false}; if ((vehicle _unit != _unit) && {!alive (vehicle _unit)}) exitwith { true }; // Find the correct Damage threshold for unit.