From e148f5a9987f4b24cf55a3ed75b95a3de51c9a1d Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 14 Jul 2025 16:03:35 +0100 Subject: [PATCH] Flag `RandomisedResourceDetails` as nullable --- Libraries/SPTarkov.Server.Core/Helpers/BotGeneratorHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/BotGeneratorHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/BotGeneratorHelper.cs index 67a40682..35f8c8bb 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/BotGeneratorHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/BotGeneratorHelper.cs @@ -59,7 +59,7 @@ public class BotGeneratorHelper( .GetFirstProfileActivityRaidData() ?.RaidConfiguration; - RandomisedResourceDetails randomisationSettings = null; + RandomisedResourceDetails? randomisationSettings = null; if (botRole is not null) { _botConfig.LootItemResourceRandomization.TryGetValue(