fix level editor truncation
This commit is contained in:
parent
d96f57efb6
commit
e51dc22ca1
1 changed files with 0 additions and 1 deletions
|
|
@ -178,7 +178,6 @@ local function rebuildAssetSearchButtons()
|
||||||
end
|
end
|
||||||
table.sort(names)
|
table.sort(names)
|
||||||
for index, asset in ipairs(names) do
|
for index, asset in ipairs(names) do
|
||||||
if index > 8 then break end
|
|
||||||
local sprites = {}
|
local sprites = {}
|
||||||
for color, location in pairs(gameAssets[asset].sprites) do sprites[color] = love.graphics.newImage(location) end
|
for color, location in pairs(gameAssets[asset].sprites) do sprites[color] = love.graphics.newImage(location) end
|
||||||
table.insert(assetSearchButtons, createUIElement{
|
table.insert(assetSearchButtons, createUIElement{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue