Fixes shaking people up while buckled into a bed/resin nest (#31283)

* Fixes shaking people up when buckled into bed

* CB
This commit is contained in:
ShizCalev
2017-10-04 18:00:27 -04:00
committed by CitadelStationBot
parent 282dcb3c16
commit 929c737dfe
@@ -250,6 +250,9 @@
if(health >= 0 && !(status_flags & FAKEDEATH))
if(lying)
if(buckled)
to_chat(M, "<span class='warning'>You need to unbuckle [src] first to do that!")
return
M.visible_message("<span class='notice'>[M] shakes [src] trying to get [p_them()] up!</span>", \
"<span class='notice'>You shake [src] trying to get [p_them()] up!</span>")
else if(check_zone(M.zone_selected) == "head")