From dcef8a1c9db72f2a5a112aa3d2494d47a0341f0d Mon Sep 17 00:00:00 2001 From: Buurazu Date: Thu, 21 Apr 2022 14:58:21 -0400 Subject: [PATCH] add EID.isDisplaying support --- main.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.lua b/main.lua index 90d1c6e0..03851c80 100644 --- a/main.lua +++ b/main.lua @@ -489,6 +489,10 @@ function EID:printDescriptions(useCached) end end + if #EID.previousDescs > 0 then + EID.isDisplaying = true + end + -- Print our cached descriptions for i,indicator in ipairs(EID.CachedIndicators) do EID:renderIndicator(indicator[1], indicator[2]) @@ -516,6 +520,10 @@ function EID:printNewDescriptions() end end EID.CachingDescription = false + + if #EID.previousDescs > 0 then + EID.isDisplaying = true + end end function EID:printDescription(desc, cachedID) @@ -525,6 +533,7 @@ function EID:printDescription(desc, cachedID) if alwaysUseLocalMode then return false else alwaysUseLocalMode = true end end + EID.isDisplaying = true local renderPos = EID:getTextPosition() if cachedID then