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 CitadelStationBot
parent 75a49c53c8
commit a18aec6fa5

View File

@@ -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.