fix level editor truncation

This commit is contained in:
Your Name 2026-08-11 12:45:31 -04:00
parent d96f57efb6
commit e51dc22ca1

View file

@ -178,7 +178,6 @@ local function rebuildAssetSearchButtons()
end
table.sort(names)
for index, asset in ipairs(names) do
if index > 8 then break end
local sprites = {}
for color, location in pairs(gameAssets[asset].sprites) do sprites[color] = love.graphics.newImage(location) end
table.insert(assetSearchButtons, createUIElement{