Skip to content

Commit f6b0877

Browse files
committed
Fix platform slopes on normal tiles
1 parent a360c6d commit f6b0877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tile.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function tile:init(x, y)
105105
end
106106
if ismaptile(self.cox, self.coy-1) and tilequads[map[self.cox][self.coy-1][1]] then
107107
local tq = tilequads[map[self.cox][self.coy-1][1]]
108-
tabove = (tq.leftslant or tq.rightslant) and (not tq.downslant) and (not tq.slab)
108+
tabove = (tq.leftslant or tq.rightslant) and (not tq.downslant) and (not tq.slab) and (not (tq.platform and not tq.platformdown))
109109
if tabove and (t.platform or (self.SLOPE and not self.UPSIDEDOWNSLOPE)) then
110110
tabove = false
111111
end

0 commit comments

Comments
 (0)