]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix energy katana resolve error (#35082)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Wed, 12 Feb 2025 00:37:39 +0000 (03:37 +0300)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2025 00:37:39 +0000 (16:37 -0800)
Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs

index d738f2dd8a216183111ed86d58fcde0164863521..e17e2bc893b99315d4847e93a70ae3872a27cfa8 100644 (file)
@@ -63,7 +63,7 @@ public abstract class SharedSpaceNinjaSystem : EntitySystem
     /// </summary>
     public void BindKatana(Entity<SpaceNinjaComponent?> ent, EntityUid katana)
     {
-        if (!NinjaQuery.Resolve(ent, ref ent.Comp) || ent.Comp.Katana != null)
+        if (!NinjaQuery.Resolve(ent, ref ent.Comp, false) || ent.Comp.Katana != null)
             return;
 
         ent.Comp.Katana = katana;