1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2025-06-29 14:40:43 +02:00

Fix mod not working with mod security and intllib

This commit is contained in:
Wuzzy
2016-11-09 02:42:36 +01:00
parent 43da09620e
commit f4a5eb25f6
5 changed files with 10 additions and 15 deletions

View File

@ -16,9 +16,8 @@
local S
if (intllib) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s end
end