summaryrefslogtreecommitdiff
path: root/waypoints.lua
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-02-05 10:03:07 +0100
committerTim <t4im@users.noreply.github.com>2015-02-05 10:03:07 +0100
commit76a9efff71f924b143af8945ce02ed336b6a1090 (patch)
treeb784af07779fa7ce096a398e6665293b41d28572 /waypoints.lua
parent1a1bfc3839ccd3001b4f446b5ad230711fd258b1 (diff)
reduce table lookups during initialization
Diffstat (limited to 'waypoints.lua')
-rw-r--r--waypoints.lua7
1 files changed, 1 insertions, 6 deletions
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")},