Fix booleans being passed as string param in bg9 element

This commit is contained in:
Hugues Ross 2021-11-24 06:37:28 -05:00
parent 0df08a84cf
commit f3ea77a373

View File

@ -22,7 +22,7 @@ function gui.formspec(args)
if args.bg then
data = data .. gui.bg9 {
skin = args.bg,
fullsize = true,
fullsize = "true",
};
end
@ -80,7 +80,7 @@ function gui.bg9(args)
x, y,
w, h,
args.skin.texture .. ".png",
args.fullsize or false,
args.fullsize or "false",
tostring(args.skin.radius));
end