Skip to content
Snippets Groups Projects
Commit 2d619ab1 authored by Vanessa Ezekowitz's avatar Vanessa Ezekowitz
Browse files

add missing S() function def for intllib

parent 02c4f6e6
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,17 @@
plantslib = {}
plantslib.modpath = minetest.get_modpath("plants_lib")
plantslib.intllib_modpath = minetest.get_modpath("intllib")
local S
if plantslib.intllib_modpath then
dofile(plantslib.intllib_modpath.."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function ( s ) return s end
end
local DEBUG = false --... except if you want to spam the console with debugging info :-)
plantslib.plantlife_seed_diff = 329 -- needs to be global so other mods can see it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment