Prevent ranged dogborg noms

Noooo thanks.
This commit is contained in:
Arokha Sieyes
2017-04-10 19:36:42 -04:00
parent a990ef23b0
commit cd2b42ceb0
@@ -36,7 +36,7 @@
user << "<span class='warning'>Your [src.name] is already occupied.</span>"
return
user.visible_message("<span class='warning'>[hound.name] is ingesting [target.name] into their [src.name].</span>", "<span class='notice'>You start ingesting [target] into your [src]...</span>")
if(!patient && ishuman(target) && !target.buckled && do_after (user, 50))
if(!patient && ishuman(target) && !target.buckled && do_after (user, 50, target))
if(!proximity) return //If they moved away, you can't eat them.