Skip to content

Commit

Permalink
Update thermalvision.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXonte authored Oct 16, 2024
1 parent cea44f1 commit bd8d995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ttt2/libraries/thermalvision.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd8d995

Please sign in to comment.