Allow cargo bounties to be sold off-station (#26469)

* Ported over code for delta-v to fix bounties

* Added requested changes

* Removed the station arg from "IsBountyComplete". It is unneeded and all calls just use a null value for it anyways
This commit is contained in:
blueDev2
2024-03-28 00:06:00 -04:00
committed by GitHub
parent 8a6879bb1b
commit 4d9a79d96b
4 changed files with 33 additions and 22 deletions

View File

@@ -57,7 +57,7 @@ public sealed class PriceGunSystem : EntitySystem
return;
// Check if we're scanning a bounty crate
if (_bountySystem.IsBountyComplete(args.Target.Value, (EntityUid?) null, out _))
if (_bountySystem.IsBountyComplete(args.Target.Value, out _))
{
_popupSystem.PopupEntity(Loc.GetString("price-gun-bounty-complete"), args.User, args.User);
}