Skip to content

Commit

Permalink
ыэъ
Browse files Browse the repository at this point in the history
  • Loading branch information
FaDeOkno authored Dec 2, 2024
1 parent 851ce8e commit ecd983a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public void OnAfterAssign(Entity<StealDnaConditionComponent> condition, ref Obje
}
private void OnGetProgress(EntityUid uid, StealDnaConditionComponent comp, ref ObjectiveGetProgressEvent args)
{
if (args.Mind.OwnedEntity.HasValue)
if (args.Mind.CurrentEntity.HasValue)
{
var ling = args.Mind.OwnedEntity.Value;
var ling = args.Mind.CurrentEntity.Value;
args.Progress = GetProgress(ling, args.MindId, args.Mind, comp);
}
else
Expand Down

0 comments on commit ecd983a

Please sign in to comment.