Skip to content

Commit

Permalink
move up/move down no longer close the formspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokomine committed Sep 22, 2018
1 parent 4066361 commit 33c88ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
Please configure this mod in config.lua
Changelog:
22.09.18 - Move up/move down no longer close the formspec.
22.09.18 - If in creative mode, wield a diamond pick to dig the station. This avoids
conflicts with too fast punches.
24.12.17 - Added support for localization through intllib.
Expand Down Expand Up @@ -459,8 +460,8 @@ travelnet.update_formspec = function( pos, puncher_name, fields )
formspec = formspec..
"label[8.0,1.6;"..S("Position in list:").."]"..
"button_exit[11.3,0.0;1.0,0.5;station_exit;"..S("Exit").."]"..
"button_exit[9.6,1.6;1.4,0.5;move_up;"..S("move up").."]"..
"button_exit[10.9,1.6;1.4,0.5;move_down;"..S("move down").."]";
"button[9.6,1.6;1.4,0.5;move_up;"..S("move up").."]"..
"button[10.9,1.6;1.4,0.5;move_down;"..S("move down").."]";

meta:set_string( "formspec", formspec );

Expand Down

0 comments on commit 33c88ec

Please sign in to comment.