From bd506c0a449c83f14782afa8a2ac6457784e4ba7 Mon Sep 17 00:00:00 2001 From: thetaepsilon Date: Sun, 30 Sep 2018 15:47:13 +0100 Subject: [PATCH] libmthelpers: datastructs: [*] switch to using auto child subloader for submodules --- libmthelpers/lib/libmthelpers/datastructs.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmthelpers/lib/libmthelpers/datastructs.lua b/libmthelpers/lib/libmthelpers/datastructs.lua index aca01b1..4df8b49 100644 --- a/libmthelpers/lib/libmthelpers/datastructs.lua +++ b/libmthelpers/lib/libmthelpers/datastructs.lua @@ -30,8 +30,7 @@ datastructs.new.set = tsi.mk_unique -- other structures, see their respective files -local base = "com.github.thetaepsilon.minetest.libmthelpers.datastructs" -local subloader = modns.create_subloader(base, ".") +local subloader = modns.get_child_subloader() datastructs.guardedmap = subloader("guardedmap") datastructs.matrix = subloader("matrix") datastructs.handler_lut = subloader("handler_lut")