From abd357146c030415a17b49304eb3dfa71b9ae986 Mon Sep 17 00:00:00 2001 From: saibotk Date: Thu, 18 Jun 2020 21:06:46 +0200 Subject: [PATCH] Adjust now removed IsShinigami call --- lua/autorun/client/glowing_teammates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/client/glowing_teammates.lua b/lua/autorun/client/glowing_teammates.lua index cc7daef..884246d 100644 --- a/lua/autorun/client/glowing_teammates.lua +++ b/lua/autorun/client/glowing_teammates.lua @@ -6,7 +6,7 @@ local function GlowingTTT() if ply.GetTeam then for k, v in pairs(player.GetAll()) do - if v ~= ply and v:IsActive() and ply:IsSpecial() and not v:IsInnocent() and ((v:GetTeam() == ply:GetTeam() and not ply:GetDetective()) or (v:GetRole() == ply:GetRole())) and (not ply.IsShinigami or not ply:IsShinigami()) then + if v ~= ply and v:IsActive() and ply:IsSpecial() and not v:IsInnocent() and ((v:GetTeam() == ply:GetTeam() and not ply:GetDetective()) or (v:GetRole() == ply:GetRole())) and (not TTT2 or ply:GetSubRole() ~= ROLE_SHINIGAMI) then table.insert(mates, v) end end