diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Sliding.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Sliding.lua index 432c675..b7fdcee 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Sliding.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Sliding.lua @@ -366,7 +366,7 @@ hook.Add("SetupMove", "qslide", function(ply, mv, cmd) end end - if not ply:GetSliding() and not ply:GetJumpTurn() and ply:Alive() and + if onground and not ply:GetSliding() and not ply:GetJumpTurn() and ply:Alive() and (ply:GetSlidingDelay() < CT) and ducking and ((ducking and sprinting and speed > runspeed * 0.5) or slippery or ply:GetDive()) then vel = math.min(speed, 541.44) * ply:GetOverdriveMult() diff --git a/beatrun/gamemodes/beatrun/gamemode/shared.lua b/beatrun/gamemodes/beatrun/gamemode/shared.lua index de54fbf..53dcd95 100644 --- a/beatrun/gamemodes/beatrun/gamemode/shared.lua +++ b/beatrun/gamemodes/beatrun/gamemode/shared.lua @@ -1,4 +1,4 @@ -VERSION_GLOBAL = "1.0.29" +VERSION_GLOBAL = "1.0.30" VERSION_LATEST = "" VERSION_CHECKED = false diff --git a/version.txt b/version.txt index fa7e3ca..a7a8343 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.29 \ No newline at end of file +1.0.30 \ No newline at end of file