From 9ddaa01462adbe8090276251787236fadd6665d3 Mon Sep 17 00:00:00 2001 From: ulteq <ulteq@web.de> Date: Thu, 15 Dec 2016 14:05:08 +0100 Subject: [PATCH] Always allow the use of tourniquets * Even when advanced bandages are turned off --- addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp index 0127df1088..ed81b2b4f4 100644 --- a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp +++ b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp @@ -77,7 +77,7 @@ class GVAR(Actions) { items[] = {"ACE_tourniquet"}; treatmentTime = 7; callbackSuccess = QFUNC(treatmentTourniquet); - condition = QUOTE(EGVAR(medical,advancedBandages) && {!([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo))}); + condition = QUOTE(!([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo))); litter[] = {}; }; class RemoveTourniquet: Tourniquet { @@ -85,7 +85,7 @@ class GVAR(Actions) { displayNameProgress = ECSTRING(medical,RemovingTourniquet); items[] = {}; callbackSuccess = QFUNC(treatmentTourniquetRemove); - condition = QUOTE(EGVAR(medical,advancedBandages) && {[ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo)}); + condition = QUOTE([ARR_2(_target,_bodyPart)] call EFUNC(medical,hasTourniquetAppliedTo)); }; // --- syringes