]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix spray nozzle (#22624)
authorthemias <89101928+themias@users.noreply.github.com>
Sun, 17 Dec 2023 01:45:18 +0000 (20:45 -0500)
committerGitHub <noreply@github.com>
Sun, 17 Dec 2023 01:45:18 +0000 (18:45 -0700)
* Fix spray nozzle

* what

* no

Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs

index a144d965670a9d786d799f99c3feb475ece03106..77ee419ac3bc68fb71f88ac83085afaaf125b751 100644 (file)
@@ -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;