From df8f777431ac26451a55ae34cc9272a5f77ae58a Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 28 Jan 2025 15:12:17 +0000 Subject: [PATCH] Removed unnecessary method --- Libraries/Core/Models/Spt/Config/LocationConfig.cs | 6 ------ Libraries/Core/Services/PostDbLoadService.cs | 12 ------------ 2 files changed, 18 deletions(-) diff --git a/Libraries/Core/Models/Spt/Config/LocationConfig.cs b/Libraries/Core/Models/Spt/Config/LocationConfig.cs index b25c2a51..b4d4126d 100644 --- a/Libraries/Core/Models/Spt/Config/LocationConfig.cs +++ b/Libraries/Core/Models/Spt/Config/LocationConfig.cs @@ -15,12 +15,6 @@ public record LocationConfig : BaseConfig [JsonPropertyName("rogueLighthouseSpawnTimeSettings")] public RogueLighthouseSpawnTimeSettings RogueLighthouseSpawnTimeSettings { get; set; } - /// - /// When a map has hit max alive bots, any wave that should spawn will be reduced to 1 bot in size and placed in a spawn queue, this splits waves into smaller sizes to reduce the impact of this behaviour - /// - [JsonPropertyName("splitWaveIntoSingleSpawnsSettings")] - public SplitWaveSettings SplitWaveIntoSingleSpawnsSettings { get; set; } - [JsonPropertyName("looseLootMultiplier")] public Dictionary LooseLootMultiplier { get; set; } diff --git a/Libraries/Core/Services/PostDbLoadService.cs b/Libraries/Core/Services/PostDbLoadService.cs index a9b7c114..aff919cb 100644 --- a/Libraries/Core/Services/PostDbLoadService.cs +++ b/Libraries/Core/Services/PostDbLoadService.cs @@ -80,11 +80,6 @@ public class PostDbLoadService( FixRoguesSpawningInstantlyOnLighthouse(); } - if (_locationConfig.SplitWaveIntoSingleSpawnsSettings.Enabled) - { - //SplitBotWavesIntoSingleWaves(); - } - AdjustLabsRaiderSpawnRate(); AdjustHideoutCraftTimes(_hideoutConfig.OverrideCraftTimeSeconds); @@ -324,13 +319,6 @@ public class PostDbLoadService( } } -// Find and split waves with large numbers of bots into smaller waves - BSG appears to reduce the size of these -// waves to one bot when they're waiting to spawn for too long - protected void SplitBotWavesIntoSingleWaves() - { - throw new NotImplementedException(); - } - // Make non-trigger-spawned raiders spawn earlier + always protected void AdjustLabsRaiderSpawnRate() {