summaryrefslogtreecommitdiff
path: root/node_diggers.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-09-10 23:24:09 -0600
committerFaceDeer <derksenmobile@gmail.com>2017-09-10 23:24:09 -0600
commit9103c455ddb85b6eaa55f304a8ec0f6d7bff5adf (patch)
tree605124289a7ac5612c011d5b1c539dded179da4d /node_diggers.lua
parentb6ccd1c714412c394f5ae0526167ff7bf45a5e0b (diff)
appears to be a timing issue with doc.show_entryorigin/extrusion
Diffstat (limited to 'node_diggers.lua')
-rw-r--r--node_diggers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_diggers.lua b/node_diggers.lua
index dc8ddfc..c12b46c 100644
--- a/node_diggers.lua
+++ b/node_diggers.lua
@@ -63,7 +63,7 @@ local intermittent_on_receive_fields = function(pos, formname, fields, sender)
end
if fields.help and minetest.get_modpath("doc") then --check for mod in case someone disabled it after this digger was built
local node_name = minetest.get_node(pos).name
- doc.show_entry(sender:get_player_name(), "nodes", node_name)
+ minetest.after(0.5, doc.show_entry, sender:get_player_name(), "nodes", node_name, true)
end
end,