Don't use core in ctf_rankings
This commit is contained in:
parent
1c02e617e6
commit
15984c24ab
@ -10,7 +10,7 @@ if backend == "redis" then
|
||||
local old_require = require
|
||||
|
||||
env.rawset(_G, "require", env.require)
|
||||
rankings = env.dofile(env.core.get_modpath(env.core.get_current_modname()).."/redis.lua")
|
||||
rankings = env.dofile(env.minetest.get_modpath(env.minetest.get_current_modname()).."/redis.lua")
|
||||
env.rawset(_G, "require", old_require)
|
||||
else
|
||||
rankings = ctf_core.include_files(backend..".lua")
|
||||
|
Loading…
x
Reference in New Issue
Block a user