forked from minetest-mods/unified_inventory
reduce table lookups during initialization
This commit is contained in:
@ -1,9 +1,4 @@
|
||||
local S
|
||||
if rawget(_G, "intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
local S = unified_inventory.gettext
|
||||
|
||||
local hud_colors = {
|
||||
{"#FFFFFF", 0xFFFFFF, S("White")},
|
||||
|
Reference in New Issue
Block a user