summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 73a2be3..553df43 100644
--- a/init.lua
+++ b/init.lua
@@ -144,6 +144,10 @@ function doc.process_form(player,formname,fields)
end
end
elseif(formname == "doc:category") then
+ if fields["doc_button_goto_entry"] then
+ local formspec = doc.formspec_core(3)..doc.formspec_entry("one", "o1")
+ minetest.show_formspec(playername, "doc:entry", formspec)
+ end
elseif(formname == "doc:entry") then
end