From d0e5eab1c5b1343dbb069234692b0fb2ec7bf824 Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Sun, 14 Jan 2024 11:55:44 -0500 Subject: [PATCH] Bug fix: `unique` argument was never checked. Now it's once again possible to pass multiple copies of linker flags! I don't know why you'd want to do that. --- src/lime/tools/ConfigData.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/tools/ConfigData.hx b/src/lime/tools/ConfigData.hx index f1cd623bd..d86981420 100644 --- a/src/lime/tools/ConfigData.hx +++ b/src/lime/tools/ConfigData.hx @@ -434,7 +434,7 @@ abstract ConfigData(Dynamic) to Dynamic from Dynamic Reflect.setField(current, field + ARRAY, array); } - if (array.indexOf(value) == -1) + if (!unique || array.indexOf(value) == -1) { array.push(value); }