Skip to content

Commit

Permalink
Allow loadout now check if your curator or admin
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Jul 16, 2024
1 parent 357ac38 commit c2a7bb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cScripts/functions/systems/fn_allowLoadout.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if (EGVAR(Staging,showAllLoadouts)) exitWith {true};

// Check if player is Zeus or Debug
if (call EFUNC(player,isCurator)) exitWith {true};
if (call EFUNC(player,isMissionAdmin)) exitWith {true};

// Check if does not have any company
private _playerCompany = call EFUNC(player,getCompany);
Expand Down

0 comments on commit c2a7bb2

Please sign in to comment.