mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added isNull check wrapper to nametag color propagation.
This commit is contained in:
parent
d8b4b53b80
commit
6eec702263
@ -26,7 +26,7 @@ GVAR(ShowNamesTime) = -10;
|
||||
// This allows for assigned team colors to match across the entire group
|
||||
[{
|
||||
private["_leader", "_playerIsLeader", "_unitTeam"];
|
||||
if (alive ACE_player) then {
|
||||
if (!(isNull ACE_player) && { alive ACE_player } ) then {
|
||||
_leader = leader (group ACE_player);
|
||||
_playerIsLeader = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user