From 6094449903fe1f29e22d55ecf24ce99170c4fc5a Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Sat, 9 Aug 2025 13:49:23 +0200 Subject: [PATCH] Fix handins using from key --- Libraries/SPTarkov.Server.Core/Controllers/QuestController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Controllers/QuestController.cs b/Libraries/SPTarkov.Server.Core/Controllers/QuestController.cs index 5c2482c3..7c8d1442 100644 --- a/Libraries/SPTarkov.Server.Core/Controllers/QuestController.cs +++ b/Libraries/SPTarkov.Server.Core/Controllers/QuestController.cs @@ -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);