summaryrefslogtreecommitdiff
path: root/node_crate.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_crate.lua
parentb6ccd1c714412c394f5ae0526167ff7bf45a5e0b (diff)
appears to be a timing issue with doc.show_entryorigin/extrusion
Diffstat (limited to 'node_crate.lua')
-rw-r--r--node_crate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_crate.lua b/node_crate.lua
index 7e41a8e..017023d 100644
--- a/node_crate.lua
+++ b/node_crate.lua
@@ -100,7 +100,7 @@ minetest.register_node("digtron:loaded_crate", {
end
if fields.help and minetest.get_modpath("doc") then --check for mod in case someone disabled it after this digger was built
- doc.show_entry(sender:get_player_name(), "nodes", "digtron:loaded_crate")
+ minetest.after(0.5, doc.show_entry, sender:get_player_name(), "nodes", "digtron:loaded_crate", true)
end
if not (fields.unpack or fields.show) then