Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 18, 2024
1 parent a0ce5c1 commit 3b084df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cScripts/functions/systems/fn_addArsenal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ private _arsenalStatement = {
if (EGVAR(Settings,useFilteredArsenal)) then {
private _items = GETVAR(player,EGVAR(Player,ArsenalWhitelist), []);
if (_items isEqualTo []) then {
SHOW_WARNING_3("Staging Arsenal", "Whitleist was empty for %1 [%2] attepting to recreate it", player, typeOf player);
SHOW_WARNING_2("Staging Arsenal", "Whitleist was empty for %1 [%2] attepting to recreate it", player, typeOf player);
_items = call cScripts_fnc_getArsenalWhitelist;
SETVAR(player,EGVAR(Player,ArsenalWhitelist), _items);
};

INFO_3("Staging Arsenal", "Whitleist containing %1 items added to %2 [%3]", count _items, player, typeOf player);
if (_items isEqualTo []) exitWith {
SHOW_WARNING_3("Staging Arsenal", "Whitleist is empty for %1 [%2]", player, typeOf player);
SHOW_WARNING_2("Staging Arsenal", "Whitleist is empty for %1 [%2]", player, typeOf player);
[
[],
["Arsenal is not avalible for your class."],
Expand Down

0 comments on commit 3b084df

Please sign in to comment.