From 9d5db547f09bc568d095296c4885c78e8c7c56d4 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 27 Jul 2015 17:51:58 +0200 Subject: took care of unregistered-globals-warnings --- nodes_doorlike.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'nodes_doorlike.lua') diff --git a/nodes_doorlike.lua b/nodes_doorlike.lua index cb1b1b0..d989c05 100644 --- a/nodes_doorlike.lua +++ b/nodes_doorlike.lua @@ -10,13 +10,7 @@ -- abm that opens/closes the window shutters is called. Anything less than 10 minutes -- (600 seconds) ought to be ok. ----------------------------------------------------------------------------------------------------------- --- 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 ----------------------------------------------------------------------------------------------------------- -- small window shutters for single-node-windows; they open at day and close at night if the abm is working -- cgit v1.2.3