From 736057e8922ca4690883ddcb95b2de5fefe749aa Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 9 Jul 2025 17:06:43 +0100 Subject: [PATCH] Fix wrong value being saved --- .../Services/CreateProfileService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/CreateProfileService.cs b/Libraries/SPTarkov.Server.Core/Services/CreateProfileService.cs index 075256b9..404da1a2 100644 --- a/Libraries/SPTarkov.Server.Core/Services/CreateProfileService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/CreateProfileService.cs @@ -69,11 +69,11 @@ public class CreateProfileService( pmcData.Quests = []; pmcData.Hideout.Seed = Convert.ToHexStringLower(RandomNumberGenerator.GetBytes(16)); pmcData.RepeatableQuests = []; - pmcData.CarExtractCounts = new Dictionary(); - pmcData.CoopExtractCounts = new Dictionary(); - pmcData.Achievements = new Dictionary(); + pmcData.CarExtractCounts = []; + pmcData.CoopExtractCounts = []; + pmcData.Achievements = []; - pmcData.WishList = new DictionaryOrList(new Dictionary(), []); + pmcData.WishList = new DictionaryOrList([], []); // Process handling if the account has been forced to wipe // BSG keeps both the achievements, prestige level and the total in-game time in a wipe @@ -122,7 +122,7 @@ public class CreateProfileService( InraidData = new Inraid(), InsuranceList = [], BtrDeliveryList = [], - TraderPurchases = new Dictionary?>(), + TraderPurchases = [], FriendProfileIds = [], CustomisationUnlocks = [], };