From 555d3e1bef7c52c63f536a579737872edbf35c32 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 28 Mar 2025 16:50:58 +0000 Subject: [PATCH] Fix preset lookup not matching casing --- Libraries/SPTarkov.Server.Core/Controllers/BotController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Controllers/BotController.cs b/Libraries/SPTarkov.Server.Core/Controllers/BotController.cs index 1cbe5ca1..52750ff2 100644 --- a/Libraries/SPTarkov.Server.Core/Controllers/BotController.cs +++ b/Libraries/SPTarkov.Server.Core/Controllers/BotController.cs @@ -48,7 +48,7 @@ public class BotController( public int GetBotPresetGenerationLimit(string type) { - if (!_botConfig.PresetBatch.TryGetValue(type.ToLower(), out var limit)) + if (!_botConfig.PresetBatch.TryGetValue(type, out var limit)) { _logger.Warning(_localisationService.GetText("bot-bot_preset_count_value_missing", type));