1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-17 15:48:31 +01:00

local-ize a variable

This commit is contained in:
Vanessa Ezekowitz 2017-02-01 11:55:17 -05:00
parent cad8a378c3
commit 5f264bc484

View File

@ -256,6 +256,7 @@ minetest.register_lbm({
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
local old_fdir = math.floor(node.param2 % 32)
local new_fdir = 3
local new_name
if old_fdir == 0 then
new_fdir = 3