fixing memo condition
This commit is contained in:
parent
b5519334f9
commit
77d0339354
@ -60,7 +60,7 @@ end
|
|||||||
|
|
||||||
function maybeUpdate(obj, delay, flipped)
|
function maybeUpdate(obj, delay, flipped)
|
||||||
if obj == nil then return end
|
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 obj.is_face_down == true and flipped ~= true then return end
|
||||||
if not playAreaApi.isInPlayArea(obj) then return end
|
if not playAreaApi.isInPlayArea(obj) then return end
|
||||||
delay = tonumber(delay) or 0
|
delay = tonumber(delay) or 0
|
||||||
@ -75,7 +75,7 @@ end
|
|||||||
function updateCount()
|
function updateCount()
|
||||||
if not pendingCall then
|
if not pendingCall then
|
||||||
pendingCall = true
|
pendingCall = true
|
||||||
Wait.time(function() updateCountNow() end, 0.1)
|
Wait.time(function() updateCountNow() end, 0.2)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user