diff --git a/Libraries/SPTarkov.Server.Core/Services/BotGenerationCacheService.cs b/Libraries/SPTarkov.Server.Core/Services/BotGenerationCacheService.cs index 1c87db19..bbdfb2b4 100644 --- a/Libraries/SPTarkov.Server.Core/Services/BotGenerationCacheService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/BotGenerationCacheService.cs @@ -12,7 +12,7 @@ public class BotGenerationCacheService( LocalisationService _localisationService ) { - protected Queue _activeBotsInRaid = []; + protected readonly Queue _activeBotsInRaid = []; protected readonly ConcurrentDictionary> _storedBots = new(); /// @@ -96,7 +96,7 @@ public class BotGenerationCacheService( public void ClearStoredBots() { _storedBots.Clear(); - _activeBotsInRaid = []; + _activeBotsInRaid.Clear(); } ///