conform isnil checking: medical_treatment

This commit is contained in:
Whigital 2020-02-11 23:43:54 +01:00
parent dbd6f39794
commit 0439cd8738

View File

@ -53,7 +53,7 @@ if !(_overdosedMedications isEqualTo []) then {
TRACE_1("CriticalVitals Event",_target); // make unconscious
[QEGVAR(medical,CriticalVitals), _target] call CBA_fnc_localEvent;
};
if (isNil _onOverDose) then {
if (isNil "_onOverDose") then {
_onOverDose = compile _onOverDose;
} else {
_onOverDose = missionNamespace getVariable _onOverDose;