Skip to content

Commit

Permalink
Actually use GroupType for event quest check
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Aug 11, 2023
1 parent a48846b commit 93c091d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DragaliaAPI.Shared/MasterAsset/Models/QuestData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ public record QuestData(
new(this.Scene06, this.AreaName06),
}.Where(x => !string.IsNullOrEmpty(x.ScenePath) && !string.IsNullOrEmpty(x.AreaName));

// Main Campaign quests use 100xx
public bool IsEventQuest => Gid >= 20000;
public bool IsEventQuest => GroupType == QuestGroupType.Event;
}

0 comments on commit 93c091d

Please sign in to comment.