From 626a9cf5f9a6a981c8e990dad4ec55abdce94b4d Mon Sep 17 00:00:00 2001 From: ViperMaul Date: Tue, 28 Jul 2015 13:06:58 -0700 Subject: [PATCH] Disable headBugFix if unconscious --- addons/common/functions/fnc_headBugFix.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/common/functions/fnc_headBugFix.sqf b/addons/common/functions/fnc_headBugFix.sqf index 6e63a5eb9d..5a7c67c7ef 100644 --- a/addons/common/functions/fnc_headBugFix.sqf +++ b/addons/common/functions/fnc_headBugFix.sqf @@ -9,7 +9,7 @@ */ #include "script_component.hpp" -if (player != vehicle player) exitWith {}; +if (player != vehicle player || {(player getvariable ["ace_isUnconscious", false])}) exitWith {}; titleCut ["", "BLACK"]; _pos = getposATL player; // create invisible headbug fix vehicle