summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-09 01:38:56 +0100
committerWuzzy <almikes@aol.com>2016-11-09 01:38:56 +0100
commit1cd11eadbbdf7a91680a479566990e26c66d4a14 (patch)
tree8da34790ad28822988c50fc78bc9a22018de9c69
parent41697dd683221085a9894723225942239db37d84 (diff)
Fix mod not working with inttlib and mod security
-rw-r--r--init.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index ce5e98e..3facb89 100644
--- a/init.lua
+++ b/init.lua
@@ -1,15 +1,12 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S, F
if minetest.get_modpath("intllib") then
- dofile(minetest.get_modpath("intllib").."/intllib.lua")
- S = intllib.Getter(minetest.get_current_modname())
+ S = intllib.Getter()
else
S = function(s) return s end
end
F = function(f) return minetest.formspec_escape(S(f)) end
-
-
doc = {}
-- Some informational variables