|
|
@ -915,8 +915,7 @@ local BASE_FRAME = {
|
|
|
|
local function make_frame(name, double_line)
|
|
|
|
local function make_frame(name, double_line)
|
|
|
|
local tp = function(offset)
|
|
|
|
local tp = function(offset)
|
|
|
|
local texpos = dfhack.textures.getAsset('hack/data/art/border-'..name:lower()..'.png', offset)
|
|
|
|
local texpos = dfhack.textures.getAsset('hack/data/art/border-'..name:lower()..'.png', offset)
|
|
|
|
if texpos == -1 then return nil end
|
|
|
|
return texpos >= 0 and texpos or nil
|
|
|
|
return texpos
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
local frame = copyall(BASE_FRAME)
|
|
|
|
local frame = copyall(BASE_FRAME)
|
|
|
|