From a3a054a3af9ce9f301ed135270c21005969bd068 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sun, 10 Sep 2023 13:46:53 +0500 Subject: [PATCH] fix error when you ded --- beatrun/gamemodes/beatrun/gamemode/sh/Quickturn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Quickturn.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Quickturn.lua index 910ca75..e463677 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Quickturn.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Quickturn.lua @@ -55,7 +55,7 @@ end local standpunch = Angle(-5, 0, 0) local function Quickturn(ply, mv, cmd) - local keypressed = mv:KeyPressed(IN_ATTACK2) and ply:GetActiveWeapon():GetClass() == "runnerhands" + local keypressed = mv:KeyPressed(IN_ATTACK2) and ply:Alive() and ply:GetActiveWeapon():GetClass() == "runnerhands" if ply:GetWallrun() ~= 0 then if mv:KeyDown(IN_BACK) and mv:KeyPressed(IN_JUMP) or ply:GetQuickturn() then