mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Compare commits
No commits in common. "870cf943a246b8706c353bfc165b624a40a78bc9" and "e2c298d9fab5839d6c44400c161797516169e468" have entirely different histories.
870cf943a2
...
e2c298d9fa
3 changed files with 8 additions and 5 deletions
|
@ -246,7 +246,7 @@ end
|
|||
|
||||
hook.Add("SetupMove", "qslide", function(ply, mv, cmd)
|
||||
if not ply:Alive() then return end
|
||||
if ply:GetSafetyRollTime() > CurTime() then return end
|
||||
if ply:GetSafetyRollKeyTime() > CurTime() then return end
|
||||
|
||||
if not ply.OldDuckSpeed then
|
||||
ply.OldDuckSpeed = ply:GetDuckSpeed()
|
||||
|
@ -366,8 +366,11 @@ hook.Add("SetupMove", "qslide", function(ply, mv, cmd)
|
|||
end
|
||||
end
|
||||
|
||||
if onground and not ply:GetSliding() and not ply:GetJumpTurn() and ply:Alive() and
|
||||
(ply:GetSlidingDelay() < CT) and ducking and
|
||||
local isRolling = CurTime() < ply:GetSafetyRollKeyTime()
|
||||
local turnedInAir = ply:GetJumpTurn()
|
||||
//if ply:GetSlidingDelay() < CT and ply:Alive() and (ducking and sprinting and speed > runspeed * 0.5 or slippery and ply:GetSafetyRollTime() <= CurTime() + 0.25 or ply:GetDive() and ply:GetSafetyRollKeyTime() <= CurTime()) and onground and not sliding then
|
||||
if not ply:GetSliding() and not isRolling and not turnedInAir and ply:Alive() and
|
||||
(ply:GetSlidingDelay() < CT) and
|
||||
((ducking and sprinting and speed > runspeed * 0.5) or slippery or ply:GetDive()) then
|
||||
vel = math.min(speed, 541.44) * ply:GetOverdriveMult()
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION_GLOBAL = "1.0.30"
|
||||
VERSION_GLOBAL = "1.0.27"
|
||||
VERSION_LATEST = ""
|
||||
VERSION_CHECKED = false
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.0.30
|
||||
1.0.27
|
Loading…
Reference in a new issue