1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-17 05:10:25 +02:00

whitespace cleanup, now also making most of homedecor consistenly use the same indentation style

This commit is contained in:
Tim
2015-01-23 22:14:00 +01:00
parent 64a81ebf7a
commit f60eb9ca47
16 changed files with 780 additions and 782 deletions

View File

@ -46,15 +46,15 @@ end
--table copy
function homedecor.table_copy(t)
local nt = { };
for k, v in pairs(t) do
if type(v) == "table" then
nt[k] = homedecor.table_copy(v)
else
nt[k] = v
end
end
return nt
local nt = { };
for k, v in pairs(t) do
if type(v) == "table" then
nt[k] = homedecor.table_copy(v)
else
nt[k] = v
end
end
return nt
end
-- Determine if the item being pointed at is the underside of a node (e.g a ceiling)
@ -154,6 +154,4 @@ dofile(homedecor.modpath.."/cobweb.lua")
dofile(homedecor.modpath.."/locked.lua")
print("[HomeDecor] "..S("Loaded!"))