Block index fix
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user