From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Wed, 12 Feb 2025 00:37:39 +0000 (+0300) Subject: Fix energy katana resolve error (#35082) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5b394c2f5a14f6a0aab4f4e7c52288b2bf59c80c;p=space-station-14.git Fix energy katana resolve error (#35082) --- diff --git a/Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs b/Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs index d738f2dd8a..e17e2bc893 100644 --- a/Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs +++ b/Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs @@ -63,7 +63,7 @@ public abstract class SharedSpaceNinjaSystem : EntitySystem /// public void BindKatana(Entity 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;