mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user