mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 11:17:30 +01:00
fix 'WARNING[Main]: Undeclared global variable ' in mcl_colorblocks (#4203)
fix WARNING: Undeclared global variable Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4203 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: nixnoxus <nixnoxus@web.de> Co-committed-by: nixnoxus <nixnoxus@web.de>
This commit is contained in:
parent
c65176af81
commit
8931576c50
@ -61,9 +61,9 @@ for _, row in ipairs(block.dyes) do
|
|||||||
local sdesc_gtp = row[4]
|
local sdesc_gtp = row[4]
|
||||||
local sdesc_cp = row[5]
|
local sdesc_cp = row[5]
|
||||||
local sdesc_c = row[6]
|
local sdesc_c = row[6]
|
||||||
local ldesc_hc, ldesc_gt, ldesc_cp, ldesc_c
|
local ldesc_hc, ldesc_gt, ldesc_cp, ldesc_c, ldesc_gtp
|
||||||
local create_entry
|
local create_entry
|
||||||
local ename_hc, ename_gt, ename_cp, ename_c
|
local ename_hc, ename_gt, ename_cp, ename_c, ename_gtp
|
||||||
local ltt_cp = cp_tt
|
local ltt_cp = cp_tt
|
||||||
if is_canonical then
|
if is_canonical then
|
||||||
ldesc_hc = hc_desc
|
ldesc_hc = hc_desc
|
||||||
|
Loading…
Reference in New Issue
Block a user