diff --git a/Templates.lua b/Templates.lua index 8a857c8..1243e0b 100644 --- a/Templates.lua +++ b/Templates.lua @@ -489,7 +489,7 @@ function WQT_Utils:GetPinTime(questInfo) maxTime = 5760*60; offset = -720*60; local tagInfo = questInfo:GetTagInfo(); - if (timeLeft > maxTime or (tagInfo.isElite and tagInfo.quality == Enum.WorldQuestQuality.Epic)) then + if tagInfo and (timeLeft > maxTime or (tagInfo.isElite and tagInfo.quality == Enum.WorldQuestQuality.Epic)) then maxTime = 1440 * 7*60; offset = 0; end