mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Fix potential count when giving up a Monolith run
This commit is contained in:
1 parent
72d9cd530d
commit
21467faa7f
1 file changed
+1
-1
@@ -199,7 +199,7 @@ public class StarTowerGame {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getTotalPotentialCount() {
|
public int getTotalPotentialCount() {
|
||||||
return this.getItems().values().intStream().reduce(0, Integer::sum);
|
return this.getPotentials().values().intStream().reduce(0, Integer::sum);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user