1
0
Fork 0

Adjust now removed IsShinigami call

This commit is contained in:
saibotk 2020-06-18 21:06:46 +02:00
parent 134ec8784f
commit abd357146c
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -6,7 +6,7 @@ local function GlowingTTT()
if ply.GetTeam then if ply.GetTeam then
for k, v in pairs(player.GetAll()) do 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) table.insert(mates, v)
end end
end end