mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-11-05 01:20:18 +01:00
use signs_lib.S
This commit is contained in:
parent
a9858c76af
commit
4018128e84
2
api.lua
2
api.lua
|
@ -1,6 +1,6 @@
|
|||
-- signs_lib api, backported from street_signs
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
local S = signs_lib.S
|
||||
|
||||
local function get_sign_formspec() end
|
||||
|
||||
|
|
2
init.lua
2
init.lua
|
@ -7,7 +7,7 @@ signs_lib = {}
|
|||
|
||||
signs_lib.path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
signs_lib.S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
dofile(signs_lib.path.."/encoding.lua")
|
||||
dofile(signs_lib.path.."/api.lua")
|
||||
|
|
Loading…
Reference in New Issue
Block a user