Fixed a segmentation error, where bomb was not updated correctly.