diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 1e17e84735d..899e8caa98a 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -658,10 +658,7 @@ proc/anim(turf/location as turf,target as mob|obj,a_icon,a_icon_state as text,fl var/image/progbar for (var/i = 1 to numticks) if(user.client) - var/bar_target = target - if(bar_target == null) - bar_target = user - progbar = make_progress_bar(i, numticks, bar_target) + progbar = make_progress_bar(i, numticks, target) user.client.images |= progbar sleep(delayfraction) if(!user || user.stat || user.weakened || user.stunned || !(user.loc == Uloc))