Skip to content

Commit

Permalink
Add parenthesis to TEMP_VALUE_SOURCE source param usage
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Feb 3, 2020
1 parent ebc38de commit f662b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/settings/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
(uiNamespace getVariable QGVAR(clientTemp)) getVariable [setting, [[setting, "client"] call FUNC(get), nil]] select 0,\
(uiNamespace getVariable QGVAR(missionTemp)) getVariable [setting, [[setting, "mission"] call FUNC(get), nil]] select 0,\
(uiNamespace getVariable QGVAR(serverTemp)) getVariable [setting, [[setting, "server"] call FUNC(get), nil]] select 0\
] select (["client", "mission", "server"] find source))
] select (["client", "mission", "server"] find (source)))

#define TEMP_VALUE(setting) TEMP_VALUE_SOURCE(setting,TEMP_PRIORITY(setting))

Expand Down

0 comments on commit f662b59

Please sign in to comment.