mirror of
https://codeberg.org/minenux/minetest-mod-xdecor
synced 2023-10-20 21:43:39 -07:00
mailbox.lua: Use [resize to resize correctly (#47)
mailbox_blank16.png has still an use in nodes.lua for the trampoline node.
This commit is contained in:
parent
be6448864f
commit
de2deee86f
@ -28,7 +28,7 @@ function mailbox:formspec(pos, owner, num)
|
||||
giver = giver.."#FFFF00,"..giver_name..","..i..",#FFFFFF,x "..stack_count..","
|
||||
-- Hack to force using a 16px resolution for images in formspec's tablecolumn.
|
||||
-- The engine doesn't scale them automatically yet.
|
||||
img = img..i.."=mailbox_blank16.png^"..img_col(stack_name)..","
|
||||
img = img..i.."="..img_col(stack_name).."^\\[resize:16x16,"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user