From d6194f8970719d9733a7e15d89441218a76c4b2a Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 11 Jun 2022 16:48:31 -0400 Subject: [PATCH] Remove accidental global variable --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index f2c076b7..27c2795e 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -30,7 +30,7 @@ local dynamicSpriteCache = {} -- used to store sprite objects of collectible ico function EID:addCollectible(id, description, itemName, language) itemName = itemName or nil language = language or "en_us" - modName = EID._currentMod + local modName = EID._currentMod -- Glitched Items exception so they don't have a mod name if id > 4294960000 then modName = nil end EID.descriptions[language].custom["5.100." .. id] = {id, itemName, description, modName}