mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-23 01:35:15 +01:00
Fix potential count when giving up a Monolith run
This commit is contained in:
@@ -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