Fixes recovered crew bodybags being foldable while there's a "corpse" inside (#92423)

## About The Pull Request

Closes #92356
Also fixed prisoner envirobags being foldable while strapped despite
showing a failure message.

## Changelog
🆑
fix: Fixed recovered crew bodybags being foldable while there's a
"corpse" inside
/🆑
This commit is contained in:
SmArtKar
2025-08-04 10:48:08 +02:00
committed by Roxy
parent be679a8a92
commit 43349d99ba
2 changed files with 10 additions and 2 deletions
@@ -270,6 +270,7 @@
/obj/structure/closet/body_bag/environmental/prisoner/attempt_fold(mob/living/carbon/human/the_folder)
if(sinched)
to_chat(the_folder, span_warning("You wrestle with [src], but it won't fold while its straps are fastened."))
return FALSE
return ..()
/obj/structure/closet/body_bag/environmental/prisoner/before_open(mob/living/user, force)