Relayout Wagon Properties form

The button wasn't visible on the screen anymore
master
orwell96 2018-01-15 14:45:51 +01:00
parent 4049fca8ca
commit e9946d98ac
1 changed files with 2 additions and 2 deletions

View File

@ -784,7 +784,7 @@ function wagon:show_wagon_properties(pname)
checkbox: lock couples
button: save
]]
local form="size[5,"..(numsgr*1.5+3).."]"
local form="size[5,"..(numsgr*1.5+4).."]"
local at=0
if self.seat_groups then
for sgr,sgrdef in pairs(self.seat_groups) do
@ -793,7 +793,7 @@ function wagon:show_wagon_properties(pname)
at=at+1
end
end
form=form.."button_exit[0.5,"..(3+at*1.5)..";4,1;save;"..attrans("Save wagon properties").."]"
form=form.."button_exit[0.5,"..(at*1.5)..";4,1;save;"..attrans("Save wagon properties").."]"
minetest.show_formspec(pname, "advtrains_prop_"..self.unique_id, form)
end