Skip to content

Commit

Permalink
Allow login if curator #90
Browse files Browse the repository at this point in the history
  • Loading branch information
James Kingsley committed Nov 25, 2016
1 parent 79a1879 commit d6435b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/editor/functions/fnc_canLogin.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ private _uid = getPlayerUID _unit;

if (_uid in GVAR(blacklisted)) exitWith {false};

if (GVAR(allowLoginIfCurator) && {{getAssignedCuratorUnit _x == _unit} count allCurators > 0}) exitWith {true};

if (typeOf _unit == "MARS_GameMaster") exitWith {true};

if (_uid in GVAR(whitelisted)) exitWith {true};
Expand Down

0 comments on commit d6435b8

Please sign in to comment.