forked from TeamUlysses/utime
Merge pull request #6 from iViscosity/master
Zombie Survival support for Wraith
This commit is contained in:
commit
63739945d3
@ -139,6 +139,13 @@ function PANEL:ShouldRevealPlayer( ply )
|
||||
if engine.ActiveGamemode() == "murder" and not LocalPlayer():IsAdmin() then
|
||||
return false
|
||||
end
|
||||
|
||||
if engine.ActiveGamemode() == "zombiesurvival" then
|
||||
local wraith = GAMEMODE.ZombieClasses[ "Wraith" ].Index
|
||||
if ply:Team() == TEAM_UNDEAD and ply:GetZombieClass() == wraith then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user