Attempt to make FOV behavior less weird (#159)

This commit is contained in:
UnderSet 2024-02-20 16:48:44 +07:00 committed by GitHub
parent 3d1f47da96
commit 59abe2eb8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -356,6 +356,9 @@ function PLAYER:CreateMove(cmd)
end end
function PLAYER:CalcView(view) function PLAYER:CalcView(view)
if CLIENT then
view.fov = GetConVar("Beatrun_FOV"):GetFloat()
end
if self.TauntCam:CalcView(view, self.Player, self.Player:IsPlayingTaunt()) then return true end if self.TauntCam:CalcView(view, self.Player, self.Player:IsPlayingTaunt()) then return true end
end end