Made activeBotsInRaid readonly

This commit is contained in:
Chomp
2025-06-28 15:56:11 +01:00
parent 5e938bce95
commit 065ee32438
@@ -12,7 +12,7 @@ public class BotGenerationCacheService(
LocalisationService _localisationService
)
{
protected Queue<BotBase> _activeBotsInRaid = [];
protected readonly Queue<BotBase> _activeBotsInRaid = [];
protected readonly ConcurrentDictionary<string, List<BotBase>> _storedBots = new();
/// <summary>
@@ -96,7 +96,7 @@ public class BotGenerationCacheService(
public void ClearStoredBots()
{
_storedBots.Clear();
_activeBotsInRaid = [];
_activeBotsInRaid.Clear();
}
/// <summary>