adds a kaboom

This commit is contained in:
Heroman
2022-07-25 08:06:22 +10:00
parent 5e2f25a83a
commit d316168cf9
+2
View File
@@ -60,6 +60,8 @@
if(prob(80)) T.break_tile_to_plating()
else T.break_tile()
playsound(T, get_sfx("explosion"), 100, 1, get_rand_frequency(), falloff = 5) // get_sfx() is so that everyone gets the same sound
if(target.health < 10)
target.gib()
else