[MIRROR] Fix for bait toy (#8811)

Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-08-22 03:42:48 -07:00
committed by GitHub
parent 47ebd9d5b8
commit 3977bad5a9

View File

@@ -1170,6 +1170,9 @@
/obj/item/weapon/toy/monster_bait/afterattack(var/atom/A, var/mob/user)
var/mob/living/simple_mob/M = A
if(M.z != user.z || get_dist(user,M) > 1)
to_chat(user, "<span class='notice'>You need to stand right next to \the [M] to bait it.</span>")
return
if(!istype(M))
return
if(!M.vore_active)