Skip to content

Commit

Permalink
Killing heads no longer requires gib
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril committed Nov 10, 2024
1 parent ae4568b commit f9d33fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ private float GetProgress(EntityUid target, bool requireDead)
// deleted or gibbed or something, counts as dead
if (!TryComp<MindComponent>(target, out var mind) || mind.OwnedEntity == null)
{
if (!requireDead && !_wasKilled.Contains(target)) _wasKilled.Add(target);
if (!_wasKilled.Contains(target)) _wasKilled.Add(target);
return 1f;
}

// dead is success
if (_mind.IsCharacterDeadIc(mind))
{
if (!requireDead && !_wasKilled.Contains(target)) _wasKilled.Add(target);
if (!_wasKilled.Contains(target)) _wasKilled.Add(target);
return 1f;
}

Expand Down

0 comments on commit f9d33fa

Please sign in to comment.