mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Map Gestures - Fix briefing mode group (#8025)
* fix getting players from a group * add brackets Co-authored-by: jonpas <jonpas33@gmail.com> * small refactoring * remove useless parentheses Co-authored-by: commy2 <commy-2@gmx.de> Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: commy2 <commy-2@gmx.de>
This commit is contained in:
parent
a64ba9f7a5
commit
5a6b21dd0b
@ -37,7 +37,7 @@ switch (_this) do {
|
||||
_proximityPlayers append allUnits;
|
||||
};
|
||||
case (1): { // Players in Group
|
||||
_proximityPlayers append group ace_player;
|
||||
_proximityPlayers append units ace_player;
|
||||
};
|
||||
case (2): { // Players on Side
|
||||
_proximityPlayers append (allUnits select {side (group _x) == side (group ace_player)});
|
||||
|
Loading…
Reference in New Issue
Block a user