Fix energy katana resolve error (#35082)

This commit is contained in:
Winkarst 2025-02-12 03:37:39 +03:00 committed by deltanedas
parent 6a8c8d3123
commit 81a1af256f
1 changed files with 1 additions and 1 deletions

View 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;