mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
fix error when you ded
This commit is contained in:
parent
102f7c4a14
commit
a3a054a3af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue