This commit is contained in:
Anuken
2021-11-08 08:56:26 -05:00
parent 24ca434bae
commit 656bb34b68
2 changed files with 3 additions and 2 deletions

View File

@@ -242,7 +242,8 @@ public class SectorInfo{
production.get(item).mean = Math.min(production.get(item).mean, rawProduction.get(item).mean);
if(export.containsKey(item)){
export.get(item).mean = Math.min(export.get(item).mean, Math.max(rawProduction.get(item).mean, -production.get(item).mean));
//export can, at most, be the raw items being produced from factories + the items being taken from the core
export.get(item).mean = Math.min(export.get(item).mean, rawProduction.get(item).mean + Math.max(-production.get(item).mean, 0));
}
}