fixed sound not playing

This commit is contained in:
DragonTrance
2020-12-27 15:40:45 -07:00
parent e57ba1502e
commit 18fdedf6ab

View File

@@ -132,6 +132,7 @@
B.icon = I
B.name = "broken [name]"
transfer_fingerprints_to(B)
playsound(src, "shatter", 70, 1)
qdel(src)
if (ranged)
var/matrix/M = matrix(B.transform)
@@ -143,7 +144,6 @@
thrower.put_in_hands(B)
if (prob(33))
new/obj/item/shard(get_turf(target))
playsound(src, "shatter", 70, 1)