aboutsummaryrefslogtreecommitdiff
path: root/builtin/common
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-09-19 17:55:01 +0200
committersfan5 <sfan5@live.de>2021-10-07 00:20:01 +0200
commit2b5075f0e2a8223cdb07f000b7e8f874416ed3a8 (patch)
tree74cfcd8e0f5e4d906e465960bc125829806f9095 /builtin/common
parent2d5b7b5fb48d182fbab8e4ad69e9a552a3c07c6e (diff)
downloadminetest-2b5075f0e2a8223cdb07f000b7e8f874416ed3a8.tar.gz
minetest-2b5075f0e2a8223cdb07f000b7e8f874416ed3a8.tar.bz2
minetest-2b5075f0e2a8223cdb07f000b7e8f874416ed3a8.zip
Move archive extraction in content store to async job
Diffstat (limited to 'builtin/common')
-rw-r--r--builtin/common/misc_helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua
index c2452fe00..f5f89acd7 100644
--- a/builtin/common/misc_helpers.lua
+++ b/builtin/common/misc_helpers.lua
@@ -532,7 +532,7 @@ if INIT == "mainmenu" then
end
end
-if INIT == "client" or INIT == "mainmenu" then
+if core.gettext then -- for client and mainmenu
function fgettext_ne(text, ...)
text = core.gettext(text)
local arg = {n=select('#', ...), ...}