From 8f1dc1d25217c75d0b96c8aec025e59f53ee2879 Mon Sep 17 00:00:00 2001 From: billw2012 Date: Mon, 27 Apr 2020 05:22:48 +0100 Subject: [PATCH] New group side in Leave Group interaction is same as original group side (#7667) Previously it would be `side player`, now it is `side group player`, which is more consistent (as unit and group sides are not necessarily the same). --- 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 b654b7020e..426c75c983 100644 --- a/addons/interaction/CfgVehicles.hpp +++ b/addons/interaction/CfgVehicles.hpp @@ -299,7 +299,7 @@ class CfgVehicles { displayName = CSTRING(LeaveGroup); condition = QUOTE(count (units group _player) > 1); exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"}; - statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;); + statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side group _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;); showDisabled = 1; icon = QPATHTOF(UI\team\team_management_ca.paa); };