Skip to content

Commit 354067f

Browse files
committed
Update client.lua
1 parent 9a75882 commit 354067f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

realisticview/libraries/client.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
function MODULE:CalcView(client, origin, angles)
2+
if client.IsInAdminEntityView then return end
23
if client:getChar() and not client:InVehicle() and lia.option.get("realisticViewEnabled") then
34
if lia.gui.character and IsValid(lia.gui.character) then return end
45
if hook.Run("ShouldUseRealisticView", client) == false then return end

0 commit comments

Comments
 (0)