summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 922b936..805ce3c 100644
--- a/init.lua
+++ b/init.lua
@@ -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