aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-01-15 14:45:51 +0100
committerorwell96 <orwell@bleipb.de>2018-01-15 14:45:51 +0100
commite9946d98acd325af850f6a92a3f8e225dfef3f4c (patch)
tree5d9cd9041fa08892d1c2faffb5c163a00dcbfe6e /advtrains/wagons.lua
parent4049fca8cab7b211ba6096b2ac44ee3ea80da332 (diff)
downloadadvtrains-e9946d98acd325af850f6a92a3f8e225dfef3f4c.tar.gz
advtrains-e9946d98acd325af850f6a92a3f8e225dfef3f4c.tar.bz2
advtrains-e9946d98acd325af850f6a92a3f8e225dfef3f4c.zip
Relayout Wagon Properties form
The button wasn't visible on the screen anymore
Diffstat (limited to 'advtrains/wagons.lua')
-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