mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
Remove unnecessary prints to console
This commit is contained in:
parent
bd0201f70b
commit
31d332bfb3
1 changed files with 0 additions and 7 deletions
|
@ -1347,10 +1347,7 @@ end)
|
||||||
|
|
||||||
local function JumpAnim(event, ply)
|
local function JumpAnim(event, ply)
|
||||||
if !animsetchange then animsetchange = false end
|
if !animsetchange then animsetchange = false end
|
||||||
print("-------------")
|
|
||||||
print("JumpAnim called -- " .. engine.TickCount())
|
|
||||||
if animsetchange != UseOldAnims:GetBool() then
|
if animsetchange != UseOldAnims:GetBool() then
|
||||||
print("---- BodyAnim removed -- " .. engine.TickCount())
|
|
||||||
RemoveBodyAnim()
|
RemoveBodyAnim()
|
||||||
end
|
end
|
||||||
if animsetchange != UseOldAnims:GetBool() then
|
if animsetchange != UseOldAnims:GetBool() then
|
||||||
|
@ -1360,7 +1357,6 @@ local function JumpAnim(event, ply)
|
||||||
animtable.animmodelstring = "climbanim"
|
animtable.animmodelstring = "climbanim"
|
||||||
end
|
end
|
||||||
StartBodyAnim(animtable)
|
StartBodyAnim(animtable)
|
||||||
print("---- BodyAnim recreated -- " .. engine.TickCount())
|
|
||||||
|
|
||||||
if not IsValid(BodyAnim) then return end
|
if not IsValid(BodyAnim) then return end
|
||||||
|
|
||||||
|
@ -1381,7 +1377,6 @@ local function JumpAnim(event, ply)
|
||||||
hook.Add("PostDrawOpaqueRenderables", "JumpArmDraw", JumpArmDraw)
|
hook.Add("PostDrawOpaqueRenderables", "JumpArmDraw", JumpArmDraw)
|
||||||
end
|
end
|
||||||
if events[event] then
|
if events[event] then
|
||||||
print("-- JumpAnim in event -- " .. engine.TickCount())
|
|
||||||
local wasjumpanim = fbanims[BodyAnimString] and IsValid(BodyAnim)
|
local wasjumpanim = fbanims[BodyAnimString] and IsValid(BodyAnim)
|
||||||
|
|
||||||
if changedanimset then
|
if changedanimset then
|
||||||
|
@ -1389,7 +1384,6 @@ local function JumpAnim(event, ply)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not wasjumpanim then
|
if not wasjumpanim then
|
||||||
print("---- BodyAnim removed -- " .. engine.TickCount())
|
|
||||||
RemoveBodyAnim()
|
RemoveBodyAnim()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1424,7 +1418,6 @@ local function JumpAnim(event, ply)
|
||||||
animtable.animmodelstring = "climbanim"
|
animtable.animmodelstring = "climbanim"
|
||||||
end
|
end
|
||||||
StartBodyAnim(animtable)
|
StartBodyAnim(animtable)
|
||||||
print("---- BodyAnim recreated -- " .. engine.TickCount())
|
|
||||||
|
|
||||||
if not IsValid(BodyAnim) then return end
|
if not IsValid(BodyAnim) then return end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue