mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
Hopefully fix roll-to-slide bug dff602a651
This commit is contained in:
parent
45c2c77bc3
commit
669c266cfd
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ end
|
||||||
|
|
||||||
hook.Add("SetupMove", "qslide", function(ply, mv, cmd)
|
hook.Add("SetupMove", "qslide", function(ply, mv, cmd)
|
||||||
if not ply:Alive() then return end
|
if not ply:Alive() then return end
|
||||||
|
if ply:GetSafetyRollKeyTime() > CurTime() then return end
|
||||||
|
|
||||||
if not ply.OldDuckSpeed then
|
if not ply.OldDuckSpeed then
|
||||||
ply.OldDuckSpeed = ply:GetDuckSpeed()
|
ply.OldDuckSpeed = ply:GetDuckSpeed()
|
||||||
|
|
Loading…
Reference in a new issue