Remove accidental global variable
This commit is contained in:
1 parent
e0cffded59
commit
d6194f8970
1 file changed
+1
-1
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user