Skip to content

Commit

Permalink
Viewdistance - Fix Error Missing )
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Jul 1, 2015
1 parent 10ef88b commit 319e50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/viewdistance/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (!hasInterface) exitWith {};

["SettingsInitialized", {
// if not enabled, then bugger off.
if !(GVAR(enabled) exitWith {};
if !(GVAR(enabled)) exitWith {};

// Force the view distance down to the limit.
if (viewDistance > GVAR(limitViewDistance)) then {
Expand Down

0 comments on commit 319e50a

Please sign in to comment.