summaryrefslogtreecommitdiff
path: root/sfinv.lua
diff options
context:
space:
mode:
Diffstat (limited to 'sfinv.lua')
-rw-r--r--sfinv.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfinv.lua b/sfinv.lua
index 7a22221..7febe26 100644
--- a/sfinv.lua
+++ b/sfinv.lua
@@ -1,8 +1,7 @@
if minetest.get_modpath("sfinv") then
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