From cb40de6d37dea71e14bf6df1817860af1984b674 Mon Sep 17 00:00:00 2001 From: Filip Maciejewski Date: Wed, 15 Mar 2023 21:02:02 +0100 Subject: [PATCH] Arsenal - GM Compat - Add uniform details support (#9169) * Arsenal - GM Compat - Add uniform details support * Use macro for variable * Fix typo * Update optionals/compat_gm/XEH_preinit.sqf Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> --------- Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> --- optionals/compat_gm/XEH_preinit.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/optionals/compat_gm/XEH_preinit.sqf b/optionals/compat_gm/XEH_preinit.sqf index b47cf6628d..d35e14fec5 100644 --- a/optionals/compat_gm/XEH_preinit.sqf +++ b/optionals/compat_gm/XEH_preinit.sqf @@ -6,4 +6,9 @@ PREP_RECOMPILE_START; #include "XEH_PREP.hpp" PREP_RECOMPILE_END; +// handle GM uniform additional insignia +[QEGVAR(arsenal,displayClosed), { + EGVAR(arsenal,center) call gm_core_characters_fnc_updateUniformDetails; +}] call CBA_fnc_addEventHandler; + ADDON = true;