From 77d0339354dbdda789f3629f8203dc29a2d85dcd Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Thu, 2 Feb 2023 16:55:18 +0100 Subject: [PATCH] fixing memo condition --- src/core/VictoryDisplay.ttslua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/VictoryDisplay.ttslua b/src/core/VictoryDisplay.ttslua index 8291ef9a..efa36fad 100644 --- a/src/core/VictoryDisplay.ttslua +++ b/src/core/VictoryDisplay.ttslua @@ -60,7 +60,7 @@ end function maybeUpdate(obj, delay, flipped) if obj == nil then return end - if not obj.memo == "clueDoom" then return end + if obj.memo ~= "clueDoom" then return end if obj.is_face_down == true and flipped ~= true then return end if not playAreaApi.isInPlayArea(obj) then return end delay = tonumber(delay) or 0 @@ -75,7 +75,7 @@ end function updateCount() if not pendingCall then pendingCall = true - Wait.time(function() updateCountNow() end, 0.1) + Wait.time(function() updateCountNow() end, 0.2) end end