From bd8d995e08b1f1d886dae762a524d489f3750ac9 Mon Sep 17 00:00:00 2001 From: Konstantin Gitschthaler <31093949+MrXonte@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:13:09 +0200 Subject: [PATCH] Update thermalvision.lua --- lua/ttt2/libraries/thermalvision.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/ttt2/libraries/thermalvision.lua b/lua/ttt2/libraries/thermalvision.lua index cb5279f9c8..c978f00f14 100644 --- a/lua/ttt2/libraries/thermalvision.lua +++ b/lua/ttt2/libraries/thermalvision.lua @@ -139,7 +139,7 @@ local function RenderHook() local entry = thermalvisionList[i] local ent = entry.ent - if not IsValid(ent) or (ent:IsPlayer() and (ent:IsSpec() or ent:IsGhost())) then + if not IsValid(ent) or (ent:IsPlayer() and not ent:IsTerror()) then continue end