0
0
Fork 0

fix 'WARNING[Main]: Undeclared global variable ' in mcl_colorblocks (#4203)

fix WARNING: Undeclared global variable

Reviewed-on: MineClone2/MineClone2#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:
nixnoxus 2024-03-27 00:20:12 +00:00 committed by the-real-herowl
parent c65176af81
commit 8931576c50
1 changed files with 2 additions and 2 deletions

View File

@ -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