Fix handins using from key

This commit is contained in:
Lacyway
2025-08-09 13:49:23 +02:00
parent 07ccbaf3ce
commit 6094449903
@@ -191,7 +191,7 @@ public class QuestController(
isItemHandoverQuest = condition.ConditionType == handoverQuestTypes.FirstOrDefault(); // TODO: there's 2 values, why does it only check for the first
handoverRequirements = condition;
if (pmcData.TaskConditionCounters.TryGetValue("ConditionId", out var counter))
if (pmcData.TaskConditionCounters.TryGetValue(request.ConditionId, out var counter))
{
handedInCount -= (int)(counter.Value ?? 0);