mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 13:24:11 +02: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 = dofile(get_resource(modlib.modname, "mod.lua"))
|
||||||
modlib.mod.get_resource = get_resource
|
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
|
-- 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"))
|
dofile(get_resource(modlib.modname, "minetest", "gametime.lua"))
|
||||||
local ie = minetest.request_insecure_environment()
|
local ie = minetest.request_insecure_environment()
|
||||||
if ie then
|
if ie then
|
||||||
|
Loading…
Reference in New Issue
Block a user