mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interaction - Use assignTeam
instead of deprecated CBA event (#9326)
This commit is contained in:
parent
8c5ab18350
commit
43cded706c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user