Модуль:Entity Sprite: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 29: | Строка 29: | ||
local result = {} | local result = {} | ||
for _, entry in ipairs(data) do | for _, entry in ipairs(data) do | ||
local template = generateTemplate(entry) | local template = generateTemplate(entry) | ||
if template then | if template then | ||
table.insert(result, template) | table.insert(result, template) | ||
end | end | ||
end | end | ||
| Строка 43: | Строка 38: | ||
return table.concat(result) | return table.concat(result) | ||
end | end | ||
return p | return p | ||