Skip to content

Commit

Permalink
Interaction - Use assignTeam instead of deprecated CBA event (#9326)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Aug 16, 2023
1 parent 8c5ab18 commit 43cded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/interaction/functions/fnc_joinTeam.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

params ["_unit", "_team", ["_displayHint", false, [false]]];

["CBA_teamColorChanged", [_unit, _team]] call CBA_fnc_globalEvent;
_unit assignTeam _team;

// display message
if (_unit == ACE_player) then {
Expand Down

0 comments on commit 43cded7

Please sign in to comment.