mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes unbuckling while unconscious (#24371)
This commit is contained in:
@@ -940,7 +940,7 @@ Thanks.
|
|||||||
L.visible_message("<span class='danger'>[L] resists!</span>")
|
L.visible_message("<span class='danger'>[L] resists!</span>")
|
||||||
|
|
||||||
|
|
||||||
if(L.locked_to)
|
if(L.locked_to && !L.isUnconscious())
|
||||||
//unbuckling yourself
|
//unbuckling yourself
|
||||||
if(istype(L.locked_to, /obj/structure/bed))
|
if(istype(L.locked_to, /obj/structure/bed))
|
||||||
var/obj/structure/bed/B = L.locked_to
|
var/obj/structure/bed/B = L.locked_to
|
||||||
|
|||||||
Reference in New Issue
Block a user