Skip to content

Commit

Permalink
Code: Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenGnu committed Oct 6, 2024
1 parent fccba02 commit 20e174e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ public int compare(StockpileFilter o1, StockpileFilter o2) {
long count = 0;
//Assets
if (asset != null) {
if (runs && typeID < 0) {
if (runs && typeID < 0) { //BPC Runs
if (filter.isAssets() && asset.isBPC()) {
if (add) { //Match
inventoryCountNow = inventoryCountNow + asset.getRuns();
Expand All @@ -879,7 +879,7 @@ public int compare(StockpileFilter o1, StockpileFilter o2) {
} else if (industryJob != null) {
if (typeID < 0) { //Copying in progress (not delivered to assets)
if (filter.isJobs() && industryJob.isCopying() && industryJob.isNotDeliveredToAssets()) {
if (runs) { //Runs
if (runs) { //BPC Runs
if (add) { //Match
jobsCountNow = jobsCountNow + ((long)industryJob.getRuns() * (long)industryJob.getLicensedRuns());
} else {
Expand Down

0 comments on commit 20e174e

Please sign in to comment.