Remove comments

This commit is contained in:
LostTrackpad 2024-06-07 19:52:24 +07:00 committed by GitHub
parent 3907207dc9
commit ccb93a2fc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -561,8 +561,6 @@ end)
hook.Add("PlayerSwitchWeapon", "BeatrunSwitchFOVFix", function(ply)
-- This ENTIRE hook is for dealing with ARC9's stupid FOV reset
-- behavior after switching away from an ARC9 SWEP.
-- Yes this is hacky as hell.
ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120))
timer.Simple(0, function()
ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120))
@ -570,7 +568,6 @@ hook.Add("PlayerSwitchWeapon", "BeatrunSwitchFOVFix", function(ply)
end)
cvars.AddChangeCallback("Beatrun_FOV", function(convar, oldval, newval)
-- Live FOV change in SP, needs work for MP
if CLIENT and game.SinglePlayer() then
LocalPlayer():SetFOV(newval)
elseif CLIENT then