summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-09 02:29:06 +0100
committerWuzzy <almikes@aol.com>2016-11-09 02:29:06 +0100
commit14a20679e8db20525accf25af3d7a62999032764 (patch)
tree6d3785e55ca86254ab360195cbc5fd6a2fe9f7de
parent4df189c5d73b04efd23aac2e9adcb1221d5a3c36 (diff)
Fix outdated intllib boilerplate
-rw-r--r--init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 8432f6a..f3433af 100644
--- a/init.lua
+++ b/init.lua
@@ -1,8 +1,7 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
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