Retail - Fix aura_env being unavailable in some condition checks

https://github.com/WeakAuras/WeakAuras2/issues/2949
This commit is contained in:
Zidras
2021-03-14 10:06:03 +00:00
committed by Bunny67
parent 83218cc87c
commit 220f8c770a
+2
View File
@@ -135,7 +135,9 @@ function WeakAuras.scheduleConditionCheck(time, uid, cloneId)
conditionChecksTimers.recheckHandle[uid][cloneId] = nil;
local region = Private.GetRegionByUID(uid, cloneId)
if (region and region.toShow) then
Private.ActivateAuraEnvironmentForRegion(region)
checkConditions[uid](region);
Private.ActivateAuraEnvironment()
end
end, time - GetTime())
conditionChecksTimers.recheckTime[uid][cloneId] = time;