update translation detection

This commit is contained in:
TenPlus1 2020-08-25 09:44:00 +01:00
parent 9f02777f14
commit 497ff7241f
1 changed files with 6 additions and 3 deletions

View File

@ -1,12 +1,15 @@
-- Intllib and CMI support check
-- Load support for intllib.
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP .. "/intllib.lua")
local S = minetest.get_translator and minetest.get_translator("mobs_redo") or
dofile(MP .. "/intllib.lua")
-- CMI support check
local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20200727",
version = "20200825",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {}
}