Fixed missing bracket

This commit is contained in:
Zakant 2017-03-23 15:09:59 +01:00 committed by Zakant
parent c90de84d04
commit 2cfeb5a10e

View File

@ -14,7 +14,7 @@
#include "script_component.hpp"
params ["_caller", "_target"];
if(!(_target call EFUNC(common,isAwake)) || {_target getVariable [QEGVAR(medical,inCardiacArrest), false]) then {
if(!(_target call EFUNC(common,isAwake)) || {_target getVariable [QEGVAR(medical,inCardiacArrest), false]}) then {
_target setVariable [QEGVAR(medical,heartRate), 0, true];
};
_target setVariable [QGVAR(receiveCPR), false, true];