From eef3ea9c5707d238098c8b050002963dca70d4fc Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Tue, 15 Feb 2022 09:17:13 +0100 Subject: [PATCH] Localize setmetatable (forgot to commit when implementing log) --- math.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math.lua b/math.lua index e50363d..98e82fc 100644 --- a/math.lua +++ b/math.lua @@ -1,6 +1,6 @@ -- Localize globals -local math, math_floor, minetest, modlib_table_reverse, os, string_char, table, table_insert, table_concat - = math, math.floor, minetest, modlib.table.reverse, os, string.char, table, table.insert, table.concat +local math, math_floor, minetest, modlib_table_reverse, os, string_char, setmetatable, table_insert, table_concat + = math, math.floor, minetest, modlib.table.reverse, os, string.char, setmetatable, table.insert, table.concat local inf = math.huge