Skip to content

Commit ef6012c

Browse files
committed
Undo stupid thing
1 parent 6002e32 commit ef6012c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Loenn/entities/chains/chained_falling_block.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,12 @@ function chainedFallingBlock.sprite(room, entity)
4444
local x, y = entity.x or 0, entity.y or 0
4545
local width, height = entity.width or 8, entity.height or 8
4646

47-
local sprites = {}
47+
local sprites = fakeTilesSpriteFunction(room, entity)
4848

4949
local fallDistance = entity.fallDistance or 16
5050
local rect = drawableRectangle.fromRectangle("line", x, y, width, height + fallDistance, {1, 1, 1, 0.5})
5151
rect.depth = 0
5252
table.insert(sprites, rect)
53-
54-
local blockSprites = fakeTilesSpriteFunction(room, entity);
55-
for _, sprite in ipairs(blockSprites) do
56-
table.insert(sprites, sprite)
57-
end
5853

5954
return sprites
6055
end

0 commit comments

Comments
 (0)