mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
conform isnil checking: medical_treatment
This commit is contained in:
parent
dbd6f39794
commit
0439cd8738
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user