From 317123619bd4591e9e6ce6641a1ee718632f6bde Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Thu, 20 Jan 2022 15:57:22 +0100 Subject: [PATCH] Fix modlib.table.union --- table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.lua b/table.lua index 2ee2aaa..982c4bd 100644 --- a/table.lua +++ b/table.lua @@ -507,7 +507,7 @@ function deepcomplete(table, completions) end function merge_tables(table, other_table) - return add_all(copy(table), other_table) + return add_all(shallowcopy(table), other_table) end union = merge_tables