mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
some minor fixes
This commit is contained in:
parent
169aa9c694
commit
703e0f7ec9
2 changed files with 8 additions and 14 deletions
|
@ -448,12 +448,7 @@ local worldarm = {
|
|||
ladderclimbhangstart = true,
|
||||
snatchscar = true,
|
||||
jumpcoil = true,
|
||||
jumpturnlandidle = true,
|
||||
water_swimfwd = true,
|
||||
water_swimright = true,
|
||||
water_swimleft = true,
|
||||
water_swimback = true,
|
||||
water_float = true
|
||||
jumpturnlandidle = true
|
||||
}
|
||||
|
||||
local ignorezarm = {
|
||||
|
@ -463,12 +458,7 @@ local ignorezarm = {
|
|||
hangfoldedheaveup = true,
|
||||
wallrunverticalstart = true,
|
||||
diestandlong = true,
|
||||
vaultontohigh = true,
|
||||
water_swimfwd = true,
|
||||
water_swimright = true,
|
||||
water_swimleft = true,
|
||||
water_swimback = true,
|
||||
water_float = true
|
||||
vaultontohigh = true
|
||||
}
|
||||
|
||||
local nocyclereset = {
|
||||
|
|
|
@ -13,7 +13,9 @@ local function SafetyRollThink(ply, mv, cmd)
|
|||
mv:SetButtons(bit.band(mv:GetButtons(), bit.bnot(IN_DUCK)))
|
||||
end
|
||||
|
||||
if CurTime() > ply:GetSafetyRollTime() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then RunConsoleCommand("mgbase_debug_vmrender", "1") end
|
||||
if ply:Alive() and CurTime() > ply:GetSafetyRollTime() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then
|
||||
RunConsoleCommand("mgbase_debug_vmrender", "1")
|
||||
end
|
||||
|
||||
if CurTime() < ply:GetSafetyRollTime() then
|
||||
ply.FootstepLand = false
|
||||
|
@ -128,7 +130,9 @@ hook.Add("OnPlayerHitGround", "SafetyRoll", function(ply, water, floater, speed)
|
|||
|
||||
ParkourEvent("roll", ply)
|
||||
|
||||
if (weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base")) then RunConsoleCommand("mgbase_debug_vmrender", "0") end
|
||||
if ply:Alive() and weapons.IsBasedOn(ply:GetActiveWeapon():GetClass(), "mg_base") then
|
||||
RunConsoleCommand("mgbase_debug_vmrender", "0")
|
||||
end
|
||||
|
||||
local ang = ply:EyeAngles()
|
||||
local land = ply:GetVelocity()
|
||||
|
|
Loading…
Reference in a new issue