removes unnecessary spawn()

This commit is contained in:
Kyep
2018-11-26 15:29:44 -08:00
parent 032a8e00a5
commit 4d5d97024b
@@ -40,8 +40,7 @@
user.visible_message("<span class='warning'>[src] slips out of the grip of [user] as they try to pick it up, bouncing upwards and smacking [user.p_them()] in the face!</span>", \
"<span class='warning'>[src] slips out of your grip as you pick it up, bouncing upwards and smacking you in the face!</span>")
playsound(get_turf(user), 'sound/effects/hit_punch.ogg', 50, 1, -1)
spawn()
throw_at(get_edge_target_turf(user, pick(alldirs)), rand(1, 3), 5)
throw_at(get_edge_target_turf(user, pick(alldirs)), rand(1, 3), 5)
else
if(!sound_played)
sound_played = TRUE