From 27049987681a986e7e05eb31cd336bb94ee926dc Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Mon, 11 Aug 2025 14:12:44 -0400 Subject: [PATCH] Change missed switch to fallthrough over `or` --- .../SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs index 4c599f40..5cd4fbaa 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs @@ -149,8 +149,8 @@ public class DurabilityLimitsHelper( { switch (botRole) { - case null - or "default": + case null: + case "default": return _botConfig.Durability.Default.Weapon.LowestMax; case "pmc": return _botConfig.Durability.Pmc.Weapon.LowestMax;