Block index fix

This commit is contained in:
Anuken
2022-03-30 13:56:38 -04:00
parent c0ac84fbc6
commit ee64dcc026
2 changed files with 5 additions and 2 deletions

View File

@@ -195,7 +195,10 @@ public class BlockIndexer{
return damagedTiles[team.id] = new Seq<>(false);
}
return damagedTiles[team.id];
var tiles = damagedTiles[team.id];
tiles.removeAll(b -> !b.damaged());
return tiles;
}
/** Get all allied blocks with a flag. */