mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Crash fix
This commit is contained in:
parent
5611a212c5
commit
39cb353b13
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user