fix anticamp box working only in infection

This commit is contained in:
Jonny_Bro (Nikita) 2024-11-04 19:05:50 +05:00
parent 7043cd002a
commit 83e2d53d9f
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8

View file

@ -37,7 +37,7 @@ function ENT:StartTouch(ent)
end end
function ENT:Touch(ent) function ENT:Touch(ent)
if ent:IsPlayer() then if ent:IsPlayer() and GetGlobalBool("GM_INFECTION") then
if CurTime() > ent.MemeTime then if CurTime() > ent.MemeTime then
if not ent.MemeMessage then if not ent.MemeMessage then
ent:ChatPrint("Are you having fun standing still in a parkour game? Let's spice things up a bit!") ent:ChatPrint("Are you having fun standing still in a parkour game? Let's spice things up a bit!")