From 83e2d53d9f3fb8c335d4951e5875501eac28e9a5 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 4 Nov 2024 19:05:50 +0500 Subject: [PATCH] fix anticamp box working only in infection --- .../beatrun/entities/entities/br_anticampbox/shared.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/entities/entities/br_anticampbox/shared.lua b/beatrun/gamemodes/beatrun/entities/entities/br_anticampbox/shared.lua index 919b893..6115cce 100644 --- a/beatrun/gamemodes/beatrun/entities/entities/br_anticampbox/shared.lua +++ b/beatrun/gamemodes/beatrun/entities/entities/br_anticampbox/shared.lua @@ -37,7 +37,7 @@ function ENT:StartTouch(ent) end function ENT:Touch(ent) - if ent:IsPlayer() then + if ent:IsPlayer() and GetGlobalBool("GM_INFECTION") then if CurTime() > ent.MemeTime 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!")