made properties readonly

This commit is contained in:
Chomp
2025-06-28 12:53:21 +01:00
parent 42e79c981b
commit da5644cfa2
63 changed files with 119 additions and 102 deletions
@@ -15,8 +15,8 @@ public class InRaidController(
ConfigServer _configServer
)
{
protected BotConfig _botConfig = _configServer.GetConfig<BotConfig>();
protected InRaidConfig _inRaidConfig = _configServer.GetConfig<InRaidConfig>();
protected readonly BotConfig _botConfig = _configServer.GetConfig<BotConfig>();
protected readonly InRaidConfig _inRaidConfig = _configServer.GetConfig<InRaidConfig>();
/// <summary>
/// Save locationId to active profiles in-raid object AND app context