Adjust now removed IsShinigami call
This commit is contained in:
parent
134ec8784f
commit
abd357146c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue