From 257c8cc698c9dd924c56d7124d40cf9c6446128b Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 17 Apr 2025 13:20:54 +0100 Subject: [PATCH] moved removal of prapor message to localService as this needs to happen each time we lazyload --- .../Services/PostDbLoadService.cs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs b/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs index 6180764a..cb5c93f6 100644 --- a/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/PostDbLoadService.cs @@ -101,8 +101,6 @@ public class PostDbLoadService( RemoveNewBeginningRequirementFromPrestige(); - RemovePraporTestMessage(); - ValidateQuestAssortUnlocksExist(); if (_seasonalEventService.IsAutomaticEventDetectionEnabled()) @@ -145,7 +143,7 @@ public class PostDbLoadService( } /// - /// Merge custom achievements into achievement db table + /// Merge custom achievements into achievement db table /// protected void MergeCustomAchievements() { @@ -519,19 +517,6 @@ public class PostDbLoadService( } } - /// - /// Blank out the "test" mail message from prapor - /// - protected void RemovePraporTestMessage() - { - // Iterate over all languages (e.g. "en", "fr") - var locales = _databaseService.GetLocales(); - foreach (var localeKvP in locales.Global) - { - locales.Global[localeKvP.Key].Value["61687e2c3e526901fa76baf9"] = ""; - } - } - /// /// Check for any missing assorts inside each traders assort.json data, checking against traders questassort.json ///