use prim ctor and fixed warnings: Botcontroller and effected classes

This commit is contained in:
CWX
2025-01-18 14:52:15 +00:00
parent a3d3d6490f
commit 6d5ff3af2d
7 changed files with 118 additions and 91 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ public record BotConfig : BaseConfig
/** How many variants of each bot should be generated on raid start */
[JsonPropertyName("presetBatch")]
public Dictionary<string, int> PresetBatch { get; set; }
public Dictionary<string, int>? PresetBatch { get; set; }
/** Bot roles that should not have PMC types (pmcBEAR/pmcUSEC) added as enemies to */
[JsonPropertyName("botsToNotAddPMCsAsEnemiesTo")]