Sector items display fixes

This commit is contained in:
Anuken
2021-07-20 12:04:34 -04:00
parent ba227d64fb
commit b28aff4a7b
2 changed files with 27 additions and 31 deletions

View File

@@ -265,10 +265,9 @@ public class SectorInfo{
return map;
}
/** @return a newly allocated map with import statistics. Use sparingly. */
//TODO this can be a float map
public ObjectMap<Item, ExportStat> importStats(){
//build empty import stats
ObjectMap<Item, ExportStat> imports = new ObjectMap<>();
//for all sectors on all planets that have bases and export to this sector
for(Planet planet : content.planets()){