Skip to content

Commit

Permalink
fix gui bug with back button (#116)
Browse files Browse the repository at this point in the history
Fixed the Worldedit GUI problem where BACK button wouldn't return back to inventory plus menu.
  • Loading branch information
tenplus1 authored and sfan5 committed Jun 20, 2016
1 parent 61ab240 commit b23e929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit_gui/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ elseif rawget(_G, "inventory_plus") then --inventory++ installed
return true
elseif fields.worldedit_gui_exit then --return to original page
if gui_player_formspecs[name] then
inventory_plus.set_inventory_formspec(player, gui_player_formspecs[name])
inventory_plus.set_inventory_formspec(player, inventory_plus.get_formspec(player, "main"))
end
return true
end
Expand Down

0 comments on commit b23e929

Please sign in to comment.