Re:Show HN: Crown – A flexible game engine written from scra...
by andrewmcwatters on Thursday June 22, 2017 @03:21PM
(#14614609)
I would recommend that you extend `package.loaders` instead. You risk breaking expected `require` functionality. Then you get the benefits of both!!
https://www.lua.org/manual/5.1/manual.html#pdf-package.loade...
Re:Show HN: Crown – A flexible game engine written from scra...
by dbartolini on Thursday June 22, 2017 @03:25PM
(#14614639)
I already do so: https://github.com/dbartolini/crown/blob/master/src/lua/lua_...
I have a custom loader that deals with it: https://github.com/dbartolini/crown/blob/master/src/lua/lua_...