Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Aug 11, 2023
1 parent 3f5ece0 commit eb63895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/settings/fnc_parse.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ private _whitespace = WHITESPACE;
_setting = (_x select [0, _indexEqualSign]) trim [_whitespace, 2];
_priority = 0;

// Check if the first entry is "force" and not followed by whitespace
// Check if the first entry is "force" and followed by whitespace
if (_setting select [0, _countForce] == "force" && {(_setting select [_countForce, 1]) in _whitespace}) then {
_setting = (_setting select [_countForce]) trim [_whitespace, 1];
_priority = _priority + 1;
};

// Check if the second entry is "force" and not followed by whitespace
// Check if the second entry is "force" and followed by whitespace
if (_setting select [0, _countForce] == "force" && {(_setting select [_countForce, 1]) in _whitespace}) then {
_setting = (_setting select [_countForce]) trim [_whitespace, 1];
_priority = _priority + 1;
Expand Down

0 comments on commit eb63895

Please sign in to comment.