aboutsummaryrefslogtreecommitdiff
path: root/display_lib/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'display_lib/init.lua')
-rw-r--r--display_lib/init.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/display_lib/init.lua b/display_lib/init.lua
index 59a8529..11ed60e 100644
--- a/display_lib/init.lua
+++ b/display_lib/init.lua
@@ -230,5 +230,11 @@ function display_lib.register_display_entity(entity_name)
end
end
-
+minetest.register_lbm({
+ label = "Update display_lib entities",
+ name = "display_lib:update_entities",
+ run_at_every_load = true,
+ nodenames = {"group:display_lib_node"},
+ action = function(pos, node) display_lib.update_entities(pos) end,
+})