From: themias <89101928+themias@users.noreply.github.com> Date: Sun, 17 Dec 2023 01:45:18 +0000 (-0500) Subject: Fix spray nozzle (#22624) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=432c87f7e23222c72b92059c0860714fd29ef83a;p=space-station-14.git Fix spray nozzle (#22624) * Fix spray nozzle * what * no --- diff --git a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs index a144d96567..77ee419ac3 100644 --- a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs +++ b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using Content.Shared.Inventory; using Content.Shared.Weapons.Ranged.Components; using Content.Shared.Weapons.Ranged.Events; @@ -42,7 +42,7 @@ public partial class SharedGunSystem while (enumerator.NextItem(out var item)) { - if (component.ProviderWhitelist == null || component.ProviderWhitelist.IsValid(item, EntityManager)) + if (component.ProviderWhitelist == null || !component.ProviderWhitelist.IsValid(item, EntityManager)) continue; slotEntity = item;