Bugfixes / Built-in rate limits

This commit is contained in:
Anuken
2020-05-15 15:45:23 -04:00
parent 9f20de427e
commit bc28dd392b
15 changed files with 106 additions and 32 deletions

View File

@@ -361,7 +361,7 @@ public class PlanetDialog extends FloatingDialog{
stable.table(t -> {
t.left();
selected.save.meta.productionRates.each(entry -> {
selected.save.meta.exportRates.each(entry -> {
int total = (int)(entry.value * turnDuration / 60f);
if(total > 1){
t.image(entry.key.icon(Cicon.small)).padRight(3);