From 944a85641c69b8428d08927ce18919e00aa7d885 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 7 Aug 2022 01:12:59 +0100 Subject: img --- img/better_disp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'img') diff --git a/img/better_disp.lua b/img/better_disp.lua index 6cbcf4b..2257232 100644 --- a/img/better_disp.lua +++ b/img/better_disp.lua @@ -99,7 +99,7 @@ local function adjust_to_2_colors(R,gromlings,pdists) assert(best_b,"no best_b") assert(best_a ~= best_b,"best a and b are the same") print("mergng "..best_b.." into "..best_a) - all_current_colors[best_b] = false + all_current_colors[best_b] = nil ncolors=ncolors-1 for gidx,col in ipairs(gromling_colors) do if col == best_b then gromling_colors[gidx] = best_a end -- cgit v1.2.3