Skip to content

Commit

Permalink
libmthelpers: datastructs: [*] switch to using auto child subloader f…
Browse files Browse the repository at this point in the history
…or submodules
  • Loading branch information
thetaepsilon committed Sep 30, 2018
1 parent 74baf4f commit bd506c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libmthelpers/lib/libmthelpers/datastructs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bd506c0

Please sign in to comment.