Fixes revenants being unable to siphon after failing a siphon

This commit is contained in:
YPOQ
2018-03-31 19:33:59 -06:00
committed by KorPhaeron
parent 803556b923
commit 8c3804d98f
@@ -58,6 +58,7 @@
to_chat(src, "<span class='revenminor'>Something's wrong! [target] seems to be resisting the siphoning, leaving you vulnerable!</span>")
target.visible_message("<span class='warning'>[target] slumps onto the ground.</span>", \
"<span class='revenwarning'>Violets lights, dancing in your vision, receding--</span>")
draining = FALSE
return
var/datum/beam/B = Beam(target,icon_state="drain_life",time=INFINITY)
if(do_after(src, 46, 0, target)) //As one cannot prove the existance of ghosts, ghosts cannot prove the existance of the target they were draining.