diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-27 17:51:58 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-27 17:51:58 +0200 |
commit | 9d5db547f09bc568d095296c4885c78e8c7c56d4 (patch) | |
tree | 35c0c88cef86102b4405bdcf6d298286001de0f5 /nodes_doorlike.lua | |
parent | 2d05ae5b7d76128f423b05e36ba9171c9769d937 (diff) |
took care of unregistered-globals-warnings
Diffstat (limited to 'nodes_doorlike.lua')
-rw-r--r-- | nodes_doorlike.lua | 8 |
1 files changed, 1 insertions, 7 deletions
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 |