From 15984c24ab7fd2ee063b9500be45f2e6270bbc31 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Sat, 12 Feb 2022 13:57:33 -0800 Subject: [PATCH] Don't use core in ctf_rankings --- mods/ctf/ctf_rankings/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ctf/ctf_rankings/init.lua b/mods/ctf/ctf_rankings/init.lua index 18118ec..b1f6e82 100644 --- a/mods/ctf/ctf_rankings/init.lua +++ b/mods/ctf/ctf_rankings/init.lua @@ -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")