Update cl_utime.lua

Possible fix to #5
This commit is contained in:
iViscosity 2017-08-10 19:30:58 -04:00 committed by GitHub
parent a28931de38
commit 274029636c

View File

@ -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