Skip to content

Commit

Permalink
Update ContrabandSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Apr 14, 2024
1 parent c23984c commit cba524d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/_NF/Contraband/Systems/ContrabandSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private bool CanSell(EntityUid uid, TransformComponent xform)
{
if (_mobQuery.HasComponent(uid))
{
if (_mobQuery.GetComponent(uid).CurrentState == MobState.Alive)
if (_mobQuery.GetComponent(uid).CurrentState == MobState.Dead) // Allow selling alive prisoners
{
return false;
}
Expand Down

0 comments on commit cba524d

Please sign in to comment.