Skip to content
Snippets Groups Projects
Commit de2deee8 authored by SmallJoker's avatar SmallJoker Committed by Auke Kok
Browse files

mailbox.lua: Use [resize to resize correctly (#47)

mailbox_blank16.png has still an use in nodes.lua for the trampoline node.
parent be644886
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment