From 5b11cb12f5242f3b92de5d58e0433be9b768eac9 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Mon, 14 Oct 2024 12:52:42 +0200 Subject: [PATCH] use pop() instead of remove() --- logging.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging.lua b/logging.lua index ee1636a..61a3b5a 100644 --- a/logging.lua +++ b/logging.lua @@ -122,7 +122,7 @@ local function cloneNonRecursive(value, sentinels) for k,v in pairs(value) do clone[cloneNonRecursive(k, sentinels)] = cloneNonRecursive(v, sentinels) end - RecursionSentinel.remove(sentinels, value) + RecursionSentinel.pop(sentinels) sentinel.value = clone return sentinel.value