1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-15 22:20:25 +02:00

took care of unregistered-globals-warnings

This commit is contained in:
Sokomine
2015-07-27 17:51:58 +02:00
parent 2d05ae5b7d
commit 9d5db547f0
11 changed files with 26 additions and 63 deletions

View File

@ -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", {