Skip to content

Commit

Permalink
Fix Callsign Attribute Compatibility (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Jun 30, 2021
1 parent da45390 commit 231fff8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion addons/common/Cfg3DEN.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;\
};\
";
};
};
};
Expand Down

0 comments on commit 231fff8

Please sign in to comment.