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).
This commit is contained in:
billw2012 2020-04-27 05:22:48 +01:00 committed by GitHub
parent a9a69ac4ff
commit 8f1dc1d252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
};