Skip to content

Commit

Permalink
Medical Treatment - Fix GET_FUNCTION macro (#10453)
Browse files Browse the repository at this point in the history
Update script_component.hpp
  • Loading branch information
johnb432 authored and LinkIsGrim committed Nov 2, 2024
1 parent 213228e commit b6caaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_treatment/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// Returns a text config entry as compiled code or variable from missionNamespace
#define GET_FUNCTION(var,cfg) \
private var = getText (cfg); \
if (isNil var) then { \
if (missionNamespace isNil var) then { \
var = compile var; \
} else { \
var = missionNamespace getVariable var; \
Expand Down

0 comments on commit b6caaf3

Please sign in to comment.