summaryrefslogtreecommitdiff
path: root/nodes_furniture.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_furniture.lua
parent2d05ae5b7d76128f423b05e36ba9171c9769d937 (diff)
took care of unregistered-globals-warnings
Diffstat (limited to 'nodes_furniture.lua')
-rw-r--r--nodes_furniture.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/nodes_furniture.lua b/nodes_furniture.lua
index ee6ba8c..fcb5da7 100644
--- a/nodes_furniture.lua
+++ b/nodes_furniture.lua
@@ -13,13 +13,7 @@
---------------------------------------------------------------------------------------
-- TODO: change the textures of the bed (make the clothing white, foot path not entirely covered with cloth)
--- 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
-- a bed without functionality - just decoration
minetest.register_node("cottages:bed_foot", {