mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user