From 231fff843c81fe0800369bee085fd2721d7ae33b Mon Sep 17 00:00:00 2001 From: commy2 Date: Wed, 30 Jun 2021 12:15:07 +0200 Subject: [PATCH] Fix Callsign Attribute Compatibility (#1471) --- addons/common/Cfg3DEN.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/addons/common/Cfg3DEN.hpp b/addons/common/Cfg3DEN.hpp index 8e5cc2eb5..8d0071f99 100644 --- a/addons/common/Cfg3DEN.hpp +++ b/addons/common/Cfg3DEN.hpp @@ -27,7 +27,13 @@ class Cfg3DEN { class Init { class Attributes { class Callsign { - expression = "[_this, _value] call CBA_fnc_setCallsign"; + expression = "\ + if (isNil 'CBA_fnc_setCallsign') then {\ + _this setGroupID [_value];\ + } else {\ + [_this, _value] call CBA_fnc_setCallsign;\ + };\ + "; }; }; };