Fixes Throw Animation (#14732)

This commit is contained in:
SleepyGemmy
2022-08-27 00:46:02 +02:00
committed by GitHub
parent 7b564df041
commit 6134fdfd6d
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -422,11 +422,11 @@ var/list/slot_equipment_priority = list( \
var/volume = W.get_volume_by_throwforce_and_or_w_class()
playsound(src, 'sound/effects/throw.ogg', volume, TRUE, -1)
item.throw_at(target, item.throw_range, item.throw_speed, src)
// Animate the mob throwing.
animate_throw(src)
item.throw_at(target, item.throw_range, item.throw_speed, src)
return TRUE
return FALSE