From 58ed8a6c8194c0bd4d75041f373da7f3edcae95f Mon Sep 17 00:00:00 2001 From: Zakant Date: Thu, 23 Mar 2017 13:41:49 +0100 Subject: [PATCH] Modified cpr condition --- addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp index c52e70aca0..58d86e2274 100644 --- a/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp +++ b/addons/medical_treatment/ACE_Medical_Treatment_Actions.hpp @@ -248,7 +248,7 @@ class GVAR(Actions) { requiredMedic = 0; treatmentTime = 15; items[] = {}; - condition = QUOTE(!(_target call EFUNC(common,isAwake))); + condition = QUOTE(!(_target call EFUNC(common,isAwake)) && {!(_target getVariable [QQGVAR(receiveCPR),false])}); callbackSuccess = QFUNC(treatmentCPR); callbackFailure = QFUNC(treatmentCPR_failure); callbackProgress = QFUNC(treatmentCPR_progress);