From 76a9efff71f924b143af8945ce02ed336b6a1090 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 5 Feb 2015 10:03:07 +0100 Subject: reduce table lookups during initialization --- waypoints.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'waypoints.lua') diff --git a/waypoints.lua b/waypoints.lua index aef9a2f..890c3ec 100644 --- a/waypoints.lua +++ b/waypoints.lua @@ -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")}, -- cgit v1.2.3