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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user