Skip to content

Commit

Permalink
Update fn_curator_init.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebral-314 committed Aug 13, 2024
1 parent 64ea173 commit edb6e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mission/functions/core/init/fn_curator_init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ private _playerIsCurator = _curators findIf { _x == getPlayerUID _player} > -1;

private _myCurObject = objNull;

if(_playerIsCurator == false) exitWith {}
if(_playerIsCurator == false) exitWith {};

if (!(isClass (configFile >> "CfgPatches" >> "zen_main")) || !(isClass (configFile >> "CfgPatches" >> "cba_main"))) exitWith {
// Bro-Nation Zeus Pack is not loaded so we can't use the curator system
Expand All @@ -31,7 +31,7 @@ if (!(isClass (configFile >> "CfgPatches" >> "zen_main")) || !(isClass (configFi
unassignCurator _myCurObject;
_cfg = (configFile >> "CfgPatches");
_newAddons = [];

for "_i" from 0 to((count _cfg) - 1) do {
_name = configName(_cfg select _i);
_newAddons pushBack _name;
Expand Down

0 comments on commit edb6e1a

Please sign in to comment.