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
@@ -37,8 +37,8 @@ public class BotGenerator(
ICloner _cloner
)
{
protected BotConfig _botConfig = _configServer.GetConfig<BotConfig>();
protected PmcConfig _pmcConfig = _configServer.GetConfig<PmcConfig>();
protected readonly BotConfig _botConfig = _configServer.GetConfig<BotConfig>();
protected readonly PmcConfig _pmcConfig = _configServer.GetConfig<PmcConfig>();
/// <summary>
/// Generate a player scav bot object