diff --git a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/airdrop.json b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/airdrop.json index a9fa2a27..2580c732 100644 --- a/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/airdrop.json +++ b/Libraries/SPTarkov.Server.Assets/SPT_Data/configs/airdrop.json @@ -5,7 +5,7 @@ "foodMedical": 100, "barter": 100, "radar": 0, - "toiletPaper": 1 + "toiletPaper": 1 }, "loot": { "mixed": { diff --git a/Libraries/SPTarkov.Server.Core/Services/AirdropService.cs b/Libraries/SPTarkov.Server.Core/Services/AirdropService.cs index 5d329149..3cd39390 100644 --- a/Libraries/SPTarkov.Server.Core/Services/AirdropService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/AirdropService.cs @@ -50,7 +50,7 @@ public class AirdropService( /// List of LootItem objects public GetAirdropLootResponse GenerateAirdropLoot(SptAirdropTypeEnum? forcedAirdropType = null) { - var airdropType = SptAirdropTypeEnum.toiletPaper; + var airdropType = forcedAirdropType ?? ChooseAirdropType(); if (_logger.IsLogEnabled(LogLevel.Debug)) { _logger.Debug($"Chose: {airdropType} for airdrop loot"); @@ -164,7 +164,7 @@ public class AirdropService( var airdropContainer = new Item { Id = _hashUtil.Generate(), - Template = string.Empty, // Chosen below later + Template = string.Empty, // Chosen below later Upd = new Upd { SpawnedInSession = true,