diff --git a/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua b/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua index d29f6b4..8bda35f 100644 --- a/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua +++ b/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua @@ -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 @@ -511,4 +514,4 @@ hook.Add("PlayerSpawn", "ResetStateTransition", function(ply, transition) end) end) -player_manager.RegisterClass("player_beatrun", PLAYER, "player_default") \ No newline at end of file +player_manager.RegisterClass("player_beatrun", PLAYER, "player_default")