mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
Remove unnecessary minetest module forceloading
This commit is contained in:
parent
4268a05d5a
commit
3701be0d87
1
init.lua
1
init.lua
@ -135,7 +135,6 @@ if minetest then
|
||||
modlib.mod = dofile(get_resource(modlib.modname, "mod.lua"))
|
||||
modlib.mod.get_resource = get_resource
|
||||
-- HACK force load minetest/gametime.lua to ensure that the globalstep is registered earlier than globalsteps of mods depending on modlib
|
||||
_ = modlib.minetest
|
||||
dofile(get_resource(modlib.modname, "minetest", "gametime.lua"))
|
||||
local ie = minetest.request_insecure_environment()
|
||||
if ie then
|
||||
|
Loading…
Reference in New Issue
Block a user