diff --git a/Libraries/Core/Generators/BotEquipmentModGenerator.cs b/Libraries/Core/Generators/BotEquipmentModGenerator.cs index 68c203f1..db544989 100644 --- a/Libraries/Core/Generators/BotEquipmentModGenerator.cs +++ b/Libraries/Core/Generators/BotEquipmentModGenerator.cs @@ -940,8 +940,7 @@ public class BotEquipmentModGenerator( return ModSpawn.SPAWN; } - - var spawnMod = _probabilityHelper.RollChance(modSpawnChances.GetValueOrDefault(modSlotName)); + var spawnMod = _probabilityHelper.RollChance(modSpawnChances.GetValueOrDefault(modSlotName.ToLower())); if (!spawnMod && (slotRequired.GetValueOrDefault(false) || (botEquipConfig.WeaponSlotIdsToMakeRequired?.Contains(modSlotName) ?? false))) { // Edge case: Mod is required but spawn chance roll failed, choose default mod spawn for slot diff --git a/Libraries/SptAssets/Assets/configs/core.json b/Libraries/SptAssets/Assets/configs/core.json index adb4d443..3abce4d3 100644 --- a/Libraries/SptAssets/Assets/configs/core.json +++ b/Libraries/SptAssets/Assets/configs/core.json @@ -1,7 +1,7 @@ { "sptVersion": "4.0.0", "projectName": "SPT", - "compatibleTarkovVersion": "0.16.0.34568", + "compatibleTarkovVersion": "0.16.0.34644", "serverName": "SPT Server", "profileSaveIntervalSeconds": 15, "sptFriendNickname": "SPT",