Play core destroy sound even when core capture is enabled
This commit is contained in:
@@ -622,6 +622,11 @@ public class CoreBlock extends StorageBlock{
|
||||
//just create an explosion, no fire. this prevents immediate recapture
|
||||
Damage.dynamicExplosion(x, y, 0, 0, 0, tilesize * block.size / 2f, state.rules.damageExplosions);
|
||||
Fx.commandSend.at(x, y, 140f);
|
||||
|
||||
//make sure the sound still plays
|
||||
if(!headless){
|
||||
playDestroySound();
|
||||
}
|
||||
}else{
|
||||
super.onDestroyed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user