Fixed #3431 / Fixed #3432 / Fixed #3429 / Fixed #3435 / Fixed #3434

This commit is contained in:
Anuken
2020-11-17 10:18:08 -05:00
parent 3c36749990
commit b46676014b
8 changed files with 12 additions and 7 deletions

View File

@@ -61,6 +61,7 @@ public class ResearchDialog extends BaseDialog{
for(Sector sector : planet.sectors){
if(sector.hasSave() && sector.hasBase()){
ItemSeq cached = sector.items();
cache.put(sector, cached);
cached.each((item, amount) -> {
values[item.id] += amount;
total += amount;