Модуль:Сущность: различия между версиями

мНет описания правки
Нет описания правки
Строка 286: Строка 286:
     for name in string.gmatch(id, "[^,]+") do
     for name in string.gmatch(id, "[^,]+") do
         local n = trim(name)
         local n = trim(name)
         if n ~= "" then
         if n ~= "" and n ~= id then
             if componentDefs[n] ~= nil then
             if componentDefs[n] ~= nil then
                 foundComponents[n] = true
                 foundComponents[n] = true
             elseif prototypeDefs[n] ~= nil then
             elseif prototypeDefs[n] ~= nil then
                 foundPrototypes[n] = true
                 foundPrototypes[n] = true
            else
             end
             end
         end
         end