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>
This commit is contained in:
Filip Maciejewski 2023-03-15 21:02:02 +01:00 committed by GitHub
parent d87e16e87e
commit cb40de6d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;