summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-07 01:12:59 +0100
committerubq323 <ubq323@ubq323.website>2022-08-07 01:12:59 +0100
commit944a85641c69b8428d08927ce18919e00aa7d885 (patch)
tree631775671fff06459967a4717ab2e9c0b83c0840
parentceead33a32402c8203b83568d94d0d929fb5dc2f (diff)
img
-rw-r--r--img/better_disp.lua2
1 files changed, 1 insertions, 1 deletions
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