From 00b92fea481fbada5c85d958fbf7eb1ab0574d16 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 22 Jul 2023 13:35:12 +0500 Subject: [PATCH] update comments --- beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua b/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua index 7ea782a..efc53db 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua @@ -468,7 +468,8 @@ function BodyAnimCalcView2(ply, pos, angles, fov) return end - if IsValid(BodyAnim) and pos:Distance(ply:EyePos()) > 20 then -- This is the issue with disappearing model when sliding + -- This is the issue with disappearing model when sliding, should be fixed for now + if IsValid(BodyAnim) and pos:Distance(ply:EyePos()) > 20 then -- TODO: Something if appears again... if updatethirdperson then ply:SetNoDraw(false) BodyAnim:SetNoDraw(true)