Skip to content

Commit e9b956b

Browse files
committed
Prevents non-members becoming commander
1 parent f41d364 commit e9b956b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

A3-Antistasi/orgPlayers/assignStavros.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if ((isNull _LeaderX) or switchCom) then
7979
if (!_proceed) exitWith {};
8080

8181
_selectable = objNull;
82-
if (!isNull _suggestedLeader && _membersX find _suggestedLeader >= 0) then
82+
if (!isNull _suggestedLeader && {_suggestedLeader in _eligibles}) then
8383
{
8484
if (_suggestedLeader != _LeaderX) then
8585
{

0 commit comments

Comments
 (0)