Fix disappearing categories by delay setting the handbookId; auto-expand categories

This commit is contained in:
Tyfon
2024-05-24 18:23:43 -07:00
parent b86be03f60
commit a544ae37f8
2 changed files with 47 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ namespace UIFixes
{
quest = R.QuestCache.Instance.GetAllQuestTemplates()
.FirstOrDefault(q => q.Rewards[EQuestStatus.Success]
.Any(r => r.type == ERewardType.AssortmentUnlock && r.items.Any(i => i._tpl == templateId)));
.Any(r => r.type == ERewardType.AssortmentUnlock && r.items.Any(i => i._tpl == templateId)));
QuestUnlocks[templateId] = quest;
}