From 2ef819949eba59b80f24021692ea3d80a8f42637 Mon Sep 17 00:00:00 2001 From: Mista-Tea Date: Thu, 7 May 2020 01:10:47 -0600 Subject: [PATCH] Localized accidental global variable Everywhere else in the code base, `Blacklist` is a local variable. This one was accidentally made global. --- lua/entities/acf_gun.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/entities/acf_gun.lua b/lua/entities/acf_gun.lua index 1cebb8108..e8f92a5ec 100644 --- a/lua/entities/acf_gun.lua +++ b/lua/entities/acf_gun.lua @@ -629,7 +629,7 @@ function ENT:FireShell() end if ( bool and self.IsUnderWeight and self.Ready and self.Legal ) then - Blacklist = {} + local Blacklist = {} if not ACF.AmmoBlacklist[self.BulletData.Type] then Blacklist = {} else