ludum-dare-42/objects/obj_enemy_base/Step_2.gml

9 lines
155 B
Plaintext
Raw Permalink Normal View History

2021-06-16 23:13:19 -07:00
if (hp < 0) {
obj_mola.kills++;
if (self != obj_bullet) {
audio_play_sound(snd_explode, 1, false);
}
instance_destroy();
}