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