Unlinked global items of Serpulo and Erekir

This commit is contained in:
Anuken
2022-09-15 17:06:35 -04:00
parent e6213dd7b4
commit a0535395eb
4 changed files with 68 additions and 70 deletions

View File

@@ -278,21 +278,6 @@ public class Universe{
save();
}
/** This method is expensive to call; only do so sparingly. */
public ItemSeq getGlobalResources(){
ItemSeq count = new ItemSeq();
for(Planet planet : content.planets()){
for(Sector sector : planet.sectors){
if(sector.hasSave()){
count.add(sector.items());
}
}
}
return count;
}
public void updateNetSeconds(int value){
netSeconds = value;
}