Skip to content

Commit

Permalink
Further declutters the export history (#16235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ldip999 authored Jul 3, 2024
1 parent a47bc9a commit 7bbefce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/reqs/supply.dm
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
for(var/datum/export_report/report AS in SSpoints.export_history)
if(report.faction != user.faction)
continue
if(report.points == 0)
continue
if(report.export_name == lastexport)
.["export_history"][id]["amount"] += 1
.["export_history"][id]["total"] += report.points
Expand Down

0 comments on commit 7bbefce

Please sign in to comment.