From ae0c4b4ca434342b2b9c2b278e97af45b75a5458 Mon Sep 17 00:00:00 2001 From: relaxtakenotes <91839650+relaxtakenotes@users.noreply.github.com> Date: Wed, 12 Feb 2025 16:39:06 +0500 Subject: [PATCH] fix --- beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua | 2 +- beatrun/gamemodes/beatrun/gamemode/shared.lua | 2 +- version.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua b/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua index ad1010f..191827b 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/BodyAnim.lua @@ -493,7 +493,7 @@ function BodyAnimCalcView2(ply, pos, angles, fov) return end - if has_tool_equipped then + if has_tool_equipped and IsValid(BodyAnim) then BodyAnim:SetNoDraw(true) BodyAnim:SetRenderOrigin(pos * 1000) diff --git a/beatrun/gamemodes/beatrun/gamemode/shared.lua b/beatrun/gamemodes/beatrun/gamemode/shared.lua index 83ffcb4..f6820cb 100644 --- a/beatrun/gamemodes/beatrun/gamemode/shared.lua +++ b/beatrun/gamemodes/beatrun/gamemode/shared.lua @@ -1,4 +1,4 @@ -VERSION_GLOBAL = "1.0.33" +VERSION_GLOBAL = "1.0.34" VERSION_LATEST = "" VERSION_CHECKED = false diff --git a/version.txt b/version.txt index c1cf2f9..64a736b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.33 \ No newline at end of file +1.0.34 \ No newline at end of file