Polishing the sprites
This commit is contained in:
@@ -39,7 +39,9 @@ public class BlockIce : MonoBehaviour {
|
||||
bomb.GetComponent<Bomb> ().timer = bombTimer;
|
||||
bomb.GetComponent<Bomb> ().respawner = respawner;
|
||||
}
|
||||
respawner.enabled = true;
|
||||
if (respawner != null) {
|
||||
respawner.enabled = true;
|
||||
}
|
||||
Destroy (gameObject);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user