Fix potential count when giving up a Monolith run

This commit is contained in:
Melledy
2025-12-15 07:41:08 -08:00
parent 72d9cd530d
commit 21467faa7f

View File

@@ -199,7 +199,7 @@ public class StarTowerGame {
}
public int getTotalPotentialCount() {
return this.getItems().values().intStream().reduce(0, Integer::sum);
return this.getPotentials().values().intStream().reduce(0, Integer::sum);
}
/**