1
0
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:
Niklp 2022-06-19 08:33:39 +02:00 committed by GitHub
parent a9858c76af
commit 4018128e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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")