aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains/wagons.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index 430dd36..9e7d9c5 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -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