Skip to content

Commit

Permalink
Fines incurred after receiving a bounty are converted into bounties.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tkael committed Feb 3, 2025
1 parent a9720de commit 620ecd0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CrimeMonitor/CrimeMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,12 @@ private void _AddReportToRecord(FactionRecord record, FactionReport report)
{
record.bounties += report.amount;
}
else if ( !report.bounty && record.bounties > 0 )
{
// This fine is converted to a bounty because we already have a bounty from this faction.
record.bounties += report.amount;
report.bounty = true;
}
else
{
record.fines += report.amount;
Expand Down

0 comments on commit 620ecd0

Please sign in to comment.