diff --git a/QuestValidator/Program.cs b/QuestValidator/Program.cs index 11c776c..f0f92a0 100644 --- a/QuestValidator/Program.cs +++ b/QuestValidator/Program.cs @@ -456,7 +456,10 @@ namespace QuestValidator CheckValuesMatch(availableForFinishItem._props.parentId, liveFinishItem._props.parentId, "AvailableForFinish parentId mismatch", availableForFinishItem._props.id); // check AvailableForFinish resetOnSessionEnd + if (availableForFinishItem._props.resetOnSessionEnd.HasValue && liveFinishItem._props.resetOnSessionEnd.HasValue) + { CheckValuesMatch(availableForFinishItem._props.resetOnSessionEnd.Value, liveFinishItem._props.resetOnSessionEnd.Value, "AvailableForFinish resetOnSessionEnd value mismatch", availableForFinishItem._props.id); + } // check AvailableForFinish target CheckValuesMatch(Convert.ToString(availableForFinishItem._props.target), Convert.ToString(liveFinishItem._props.target), "AvailableForFinish target value mismatch", availableForFinishItem._props.id);