mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
Attempt to make FOV behavior less weird (#159)
This commit is contained in:
parent
3d1f47da96
commit
59abe2eb8e
1 changed files with 4 additions and 1 deletions
|
@ -356,6 +356,9 @@ function PLAYER:CreateMove(cmd)
|
|||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue