mirror of
https://github.com/TeamUlysses/utime.git
synced 2025-03-04 03:22:58 -05:00
parent
a28931de38
commit
274029636c
@ -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