mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #28593 from ChangelingRain/abductorfix
Fixes abductors not being able to sleep people
This commit is contained in:
@@ -428,7 +428,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
|
||||
add_logs(user, L, "stunned")
|
||||
|
||||
/obj/item/weapon/abductor_baton/proc/SleepAttack(mob/living/L,mob/living/user)
|
||||
if(L.stun || L.sleeping)
|
||||
if(L.incapacitated(TRUE, TRUE))
|
||||
L.visible_message("<span class='danger'>[user] has induced sleep in [L] with [src]!</span>", \
|
||||
"<span class='userdanger'>You suddenly feel very drowsy!</span>")
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
|
||||
Reference in New Issue
Block a user