This commit is contained in:
Anuken
2022-11-01 07:53:47 -04:00
parent aef18b8696
commit bc2664994e
2 changed files with 5 additions and 1 deletions

View File

@@ -526,7 +526,7 @@ public class GameService{
for(var up : Groups.powerGraph){
var graph = up.graph();
if(graph.all.size > 0 && graph.all.first().team == player.team()){
if(graph.all.size > 0 && graph.all.first().team == player.team() && graph.hasPowerBalanceSamples()){
float balance = graph.getPowerBalance() * 60f;
if(balance < 10_000) negative10kPower.complete();
if(balance > 100_000) positive100kPower.complete();