summaryrefslogtreecommitdiff
path: root/nodes_barrel.lua
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-07-27 17:51:58 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-07-27 17:51:58 +0200
commit9d5db547f09bc568d095296c4885c78e8c7c56d4 (patch)
tree35c0c88cef86102b4405bdcf6d298286001de0f5 /nodes_barrel.lua
parent2d05ae5b7d76128f423b05e36ba9171c9769d937 (diff)
took care of unregistered-globals-warnings
Diffstat (limited to 'nodes_barrel.lua')
-rw-r--r--nodes_barrel.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/nodes_barrel.lua b/nodes_barrel.lua
index ce37646..c3c9e6f 100644
--- a/nodes_barrel.lua
+++ b/nodes_barrel.lua
@@ -21,13 +21,7 @@
-- TODO: option so that it works without nodeboxes
--- Boilerplate to support localized strings if intllib mod is installed.
-local S
-if intllib then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+local S = cottages.S
barrel = {};