Crash fix
This commit is contained in:
@@ -1668,7 +1668,9 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
Events.fire(new BlockDestroyEvent(tile));
|
Events.fire(new BlockDestroyEvent(tile));
|
||||||
block.destroySound.at(tile);
|
block.destroySound.at(tile);
|
||||||
onDestroyed();
|
onDestroyed();
|
||||||
tile.remove();
|
if(tile != emptyTile){
|
||||||
|
tile.remove();
|
||||||
|
}
|
||||||
remove();
|
remove();
|
||||||
afterDestroyed();
|
afterDestroyed();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user