From 8a83d1b3ece2c7e8abbd4a8f01c005d537113274 Mon Sep 17 00:00:00 2001 From: Mike-MF Date: Sat, 14 Dec 2024 17:47:36 +0000 Subject: [PATCH] Requested changes --- addons/medical/XEH_postInit.sqf | 2 +- addons/medical/initSettings.inc.sqf | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/addons/medical/XEH_postInit.sqf b/addons/medical/XEH_postInit.sqf index b3ab699d..6c319ded 100644 --- a/addons/medical/XEH_postInit.sqf +++ b/addons/medical/XEH_postInit.sqf @@ -54,7 +54,7 @@ if (isServer) then { ["ace_unconscious", { params ["_unit", "_state"]; - if !(GVAR(unconsciousFXEnabled)) exitWith {}; + if (GVAR(unconsciousFXChance) == 0) exitWith {}; if (isPlayer _unit && _state) then { // Knock out sound diff --git a/addons/medical/initSettings.inc.sqf b/addons/medical/initSettings.inc.sqf index 046f7368..f018d0d6 100644 --- a/addons/medical/initSettings.inc.sqf +++ b/addons/medical/initSettings.inc.sqf @@ -9,15 +9,6 @@ private _category = format ["TAC %1", QUOTE(COMPONENT_BEAUTIFIED)]; true // isGlobal ] call CBA_fnc_addSetting; -[ - QGVAR(unconsciousFXEnabled), - "CHECKBOX", - [LSTRING(UnconsciousFX_DisplayName), LSTRING(UnconsciousFX_Description)], - _category, - true, - 1 -] call CBA_fnc_addSetting; - [ QGVAR(unconsciousFXChance), "SLIDER",