Skip to content

Commit

Permalink
fix getting overdose func/code
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkIsGrim authored Oct 19, 2024
1 parent 7703596 commit 7e1e45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_treatment/functions/fnc_overDose.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (_onOverDose == "") exitWith {
TRACE_1("CriticalVitals Event",_unit);
[QEGVAR(medical,CriticalVitals), _unit] call CBA_fnc_localEvent;
};
if (!isNil "_onOverDose" && {isText _onOverDose}) then {
if (isNil _onOverDose) then {
_onOverDose = compile _onOverDose;
} else {
_onOverDose = missionNamespace getVariable _onOverDose;
Expand Down

0 comments on commit 7e1e45f

Please sign in to comment.