automatically double-up the entered lines

so that line 1 does both sides of the top section
and line 2 does both sides of the bottom
This commit is contained in:
Vanessa Dannenberg 2018-09-21 04:44:37 -04:00
parent 1b0cc4ee64
commit 4a4567f027

View File

@ -305,6 +305,8 @@ local function make_sign_texture(lines, pos)
if lineno >= NUMBER_OF_LINES then break end
local linetex, ln = make_line_texture(lines[i], lineno, pos)
table.insert(texture, linetex)
local linetex, ln = make_line_texture(lines[i], lineno+1, pos)
table.insert(texture, linetex)
lineno = ln + 1
end
table.insert(texture, "^[makealpha:0,0,0")