Skip to content

Commit

Permalink
Update fnc_ui.sqf
Browse files Browse the repository at this point in the history
Dont overide current view distance on death, but keep cache so distance is reset on spectator close (as distance can be changed by clients in spectator with hotkeys)
  • Loading branch information
Soultechnology authored Jul 26, 2024
1 parent 032b7e7 commit 65c5158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/spectator/functions/fnc_ui.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (_init) then {

// Cache view distance and set spectator default
GVAR(oldViewDistance) = viewDistance;
setViewDistance DEFAULT_VIEW_DISTANCE;
// setViewDistance DEFAULT_VIEW_DISTANCE;

// If counter already exists handle it, otherwise display XEH will handle it
[GETUVAR(RscRespawnCounter,displayNull)] call FUNC(compat_counter);
Expand Down

0 comments on commit 65c5158

Please sign in to comment.