Fix booleans being passed as string param in bg9 element
This commit is contained in:
parent
0df08a84cf
commit
f3ea77a373
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user