Fix daily quest always generating one quest type on replace.

This commit is contained in:
Yuri
2025-10-18 04:09:00 -05:00
parent 1eacf0f652
commit 954eee5251
@@ -137,7 +137,7 @@ public class RepeatableQuestController(
var repeatableConfig = QuestConfig.RepeatableQuests.FirstOrDefault(config => config.Name == repeatablesOfTypeInProfile.Name);
// If the configuration dictates to replace with the same quest type, adjust the available quest types
if (repeatableConfig?.KeepDailyQuestTypeOnReplacement is not null)
if (repeatableConfig?.KeepDailyQuestTypeOnReplacement is not null && repeatableConfig.KeepDailyQuestTypeOnReplacement)
{
repeatableConfig.Types = [questToReplace.Type.ToString()];
}