Skip to content

Commit

Permalink
Merge pull request #2027 from acemod/joinGroupTeamManagement
Browse files Browse the repository at this point in the history
EnableTeamManagement setting for joinGroup
  • Loading branch information
PabstMirror committed Aug 8, 2015
2 parents 7c7fb35 + 0bd1e1a commit 451c88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/interaction/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class CfgVehicles {

class ACE_JoinGroup {
displayName = CSTRING(JoinGroup);
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinGroup));
condition = QUOTE(GVAR(EnableTeamManagement) && {[ARR_2(_player,_target)] call DFUNC(canJoinGroup)});
statement = QUOTE([_player] joinSilent group _target);
showDisabled = 0;
priority = 2.6;
Expand Down

0 comments on commit 451c88c

Please sign in to comment.