1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 14:00:17 +01:00

update translation detection

This commit is contained in:
TenPlus1 2020-08-25 09:44:00 +01:00
parent 9f02777f14
commit 497ff7241f

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 {}
}