mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-05 23:20:27 +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));
|
||||
block.destroySound.at(tile);
|
||||
onDestroyed();
|
||||
tile.remove();
|
||||
if(tile != emptyTile){
|
||||
tile.remove();
|
||||
}
|
||||
remove();
|
||||
afterDestroyed();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user