From 42be091a853868bb4912ade5a21fdc58a55c601a Mon Sep 17 00:00:00 2001
From: Lam Hung <lamhung12700@gmail.com>
Date: Fri, 3 Nov 2023 22:03:53 +0700
Subject: [PATCH] Revert "github what"

This reverts commit 73ffa4c384d7f8aaeb9600658f05382dc4df0229.
---
 .../beatrun/gamemode/player_class/player_beatrun.lua        | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua b/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua
index 638a20d..ba739a3 100644
--- a/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua
+++ b/beatrun/gamemodes/beatrun/gamemode/player_class/player_beatrun.lua
@@ -145,7 +145,7 @@ hook.Add("PlayerSwitchWeapon", "ResetFOV", function(ply)
 	ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120) * fovmult)
 
 	-- Hacky way to fix FOV after switching away from/to ARC9 SWEPs
-	timer.Simple(0.01, function() ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120) * fovmult) end)
+	timer.Simple(0, function() ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120) * fovmult) end)
 end)
 
 function PLAYER:SetModel()
@@ -514,8 +514,4 @@ hook.Add("PlayerSpawn", "ResetStateTransition", function(ply, transition)
 	end)
 end)
 
-function GM:FinishMove
-	if ply:GetActiveWeapon().ARC9 and mv:KeyReleased(IN_ATTACK2) then ply:SetFOV(ply:GetInfoNum("Beatrun_FOV", 120) * fovmult) end
-end
-
 player_manager.RegisterClass("player_beatrun", PLAYER, "player_default")
\ No newline at end of file