mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13: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,
|
ladderclimbhangstart = true,
|
||||||
snatchscar = true,
|
snatchscar = true,
|
||||||
jumpcoil = true,
|
jumpcoil = true,
|
||||||
jumpturnlandidle = true,
|
jumpturnlandidle = true
|
||||||
water_swimfwd = true,
|
|
||||||
water_swimright = true,
|
|
||||||
water_swimleft = true,
|
|
||||||
water_swimback = true,
|
|
||||||
water_float = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local ignorezarm = {
|
local ignorezarm = {
|
||||||
|
@ -463,12 +458,7 @@ local ignorezarm = {
|
||||||
hangfoldedheaveup = true,
|
hangfoldedheaveup = true,
|
||||||
wallrunverticalstart = true,
|
wallrunverticalstart = true,
|
||||||
diestandlong = true,
|
diestandlong = true,
|
||||||
vaultontohigh = true,
|
vaultontohigh = true
|
||||||
water_swimfwd = true,
|
|
||||||
water_swimright = true,
|
|
||||||
water_swimleft = true,
|
|
||||||
water_swimback = true,
|
|
||||||
water_float = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local nocyclereset = {
|
local nocyclereset = {
|
||||||
|
|
|
@ -13,7 +13,9 @@ local function SafetyRollThink(ply, mv, cmd)
|
||||||
mv:SetButtons(bit.band(mv:GetButtons(), bit.bnot(IN_DUCK)))
|
mv:SetButtons(bit.band(mv:GetButtons(), bit.bnot(IN_DUCK)))
|
||||||
end
|
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
|
if CurTime() < ply:GetSafetyRollTime() then
|
||||||
ply.FootstepLand = false
|
ply.FootstepLand = false
|
||||||
|
@ -128,7 +130,9 @@ hook.Add("OnPlayerHitGround", "SafetyRoll", function(ply, water, floater, speed)
|
||||||
|
|
||||||
ParkourEvent("roll", ply)
|
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 ang = ply:EyeAngles()
|
||||||
local land = ply:GetVelocity()
|
local land = ply:GetVelocity()
|
||||||
|
|
Loading…
Reference in a new issue