Unordered damaged building indices
This commit is contained in:
@@ -181,7 +181,7 @@ public class BlockIndexer{
|
|||||||
/** Returns all damaged tiles by team. */
|
/** Returns all damaged tiles by team. */
|
||||||
public Seq<Building> getDamaged(Team team){
|
public Seq<Building> getDamaged(Team team){
|
||||||
if(damagedTiles[team.id] == null){
|
if(damagedTiles[team.id] == null){
|
||||||
return damagedTiles[team.id] = new Seq<>();
|
return damagedTiles[team.id] = new Seq<>(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return damagedTiles[team.id];
|
return damagedTiles[team.id];
|
||||||
|
|||||||
Reference in New Issue
Block a user