[MIRROR] Dead people can no longer offer items (#5716)

* Dead people can no longer offer items (#59106)

* Dead people can no longer offer items

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-05-15 20:52:26 +02:00
committed by GitHub
parent d9dc4788ca
commit 7a29875950
@@ -168,6 +168,10 @@
to_chat(src, "<span class='warning'>You're not holding anything to give!</span>")
return
if(IS_DEAD_OR_INCAP(src))
to_chat(src, "<span class='warning'>You're unable to offer anything in your current state!</span>")
return
if(istype(receiving, /obj/item/slapper))
offer_high_five(receiving)
return