From 6aef075b3dac0a7255b1c06b58eaad784cac81aa Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Mon, 30 Sep 2024 00:37:33 -0500 Subject: [PATCH] Interaction - Limit remote squad management to leader --- addons/interaction/CfgVehicles.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/interaction/CfgVehicles.hpp b/addons/interaction/CfgVehicles.hpp index 643b5448955..90601be63f6 100644 --- a/addons/interaction/CfgVehicles.hpp +++ b/addons/interaction/CfgVehicles.hpp @@ -256,7 +256,7 @@ class CfgVehicles { class ACE_remoteTeamManagement { displayName = CSTRING(Squad); icon = QPATHTOF(UI\team\team_management_ca.paa); - condition = QUOTE(GVAR(remoteTeamManagement)); + condition = QUOTE(GVAR(remoteTeamManagement) && {_player == leader _player}); exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; insertChildren = QUOTE(call FUNC(addSquadChildren)); };