Skip to content

Commit

Permalink
Fix energy katana resolve error (#35082)
Browse files Browse the repository at this point in the history
  • Loading branch information
Winkarst-cpu authored Feb 12, 2025
1 parent 4dfe1c1 commit 5b394c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Ninja/Systems/SharedSpaceNinjaSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void AssignGloves(Entity<SpaceNinjaComponent> ent, EntityUid? gloves)
/// </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;
Expand Down

0 comments on commit 5b394c2

Please sign in to comment.