Skip to content

Commit

Permalink
Merge pull request #1221 from dvir001/2024-04-15-SellAlive
Browse files Browse the repository at this point in the history
Allow Selling Alive Contraband Prisoners To NFSD
  • Loading branch information
GreaseMonk authored Apr 29, 2024
2 parents b4d99a0 + cba524d commit 6e60236
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 6e60236

Please sign in to comment.