Modified cpr condition

This commit is contained in:
Zakant 2017-03-23 13:41:49 +01:00
parent 59c4485ef9
commit 58ed8a6c81

View File

@ -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);