aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/set.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/set.lua b/util/set.lua
index 0a263440..4be39c17 100644
--- a/util/set.lua
+++ b/util/set.lua
@@ -85,9 +85,9 @@ function new(list)
items[item] = nil;
end
- function set:add_list(list)
- if list then
- for _, item in ipairs(list) do
+ function set:add_list(item_list)
+ if item_list then
+ for _, item in ipairs(item_list) do
items[item] = true;
end
end