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