From c97e57fce39da587813f87bbed14be69599c00c0 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 23 Nov 2026 11:51:18 +0100 Subject: [PATCH] Airway - Fix undefined KAT_forceWakeup on unconsciousness Initialise the flag in preInit. It was only set when a unit initialised locally, so a machine receiving a unit through a locality transfer could read it undefined in the ace_unconscious handler. Co-Authored-By: Claude Opus 5.5 --- addons/airway/XEH_preInit.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/airway/XEH_preInit.sqf b/addons/airway/XEH_preInit.sqf index fc8be0286..736baf884 100644 --- a/addons/airway/XEH_preInit.sqf +++ b/addons/airway/XEH_preInit.sqf @@ -9,6 +9,8 @@ PREP_RECOMPILE_END; #define CBA_SETTINGS_CAT LSTRING(cba_name) #include "initSettings.inc.sqf" +KAT_forceWakeup = false; + /* When a patient enters the unconscious state, there are two things that can happen. First of all the airway can collapse. In medical sense this mean, the airway can be blocked from your tongue muscle, 'cause of the missing muscle tone.