fixing memo condition

This commit is contained in:
Chr1Z93 2023-02-02 16:55:18 +01:00
parent b5519334f9
commit 77d0339354

View File

@ -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