v3.3.4: fixed all conjured bombs causing crashes (oops =S)
This commit is contained in:
@@ -137,8 +137,10 @@ public class Bomb extends Item {
|
|||||||
|
|
||||||
public void explode(int cell){
|
public void explode(int cell){
|
||||||
//We're blowing up, so no need for a fuse anymore.
|
//We're blowing up, so no need for a fuse anymore.
|
||||||
|
if (fuse != null) {
|
||||||
fuse.snuff();
|
fuse.snuff();
|
||||||
this.fuse = null;
|
this.fuse = null;
|
||||||
|
}
|
||||||
|
|
||||||
Sample.INSTANCE.play( Assets.Sounds.BLAST );
|
Sample.INSTANCE.play( Assets.Sounds.BLAST );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user