DestroyBullet (#6311)
* DestroyBullet * one space * review Co-authored-by: Lele567 <48808663+Lele567@users.noreply.github.com>
This commit is contained in:
@@ -1035,7 +1035,12 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
|
||||
/** Called *after* the tile has been removed. */
|
||||
public void afterDestroyed(){
|
||||
|
||||
if(block.destroyBullet != null){
|
||||
//I really do not like that the bullet will not destroy derelict
|
||||
//but I can't do anything about it without using a random team
|
||||
//which may or may not cause issues with servers and js
|
||||
block.destroyBullet.create(this, Team.derelict, x, y, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/** @return the cap for item amount calculations, used when this block explodes. */
|
||||
|
||||
Reference in New Issue
Block a user