From 6522d3485c9d1d8a61291360bb5b6a9104542a44 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Mon, 16 May 2022 19:21:07 -0400 Subject: [PATCH] Stops bedsheets runtiming / being undeleteable (#17812) --- code/game/objects/structures/bedsheet_bin.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index bef955423e5..e1cac697e42 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -244,8 +244,9 @@ LINEN BINS /obj/structure/bedsheetbin/Destroy() QDEL_LIST(sheets) - hidden.forceMove(get_turf(src)) - hidden = null + if(hidden) + hidden.forceMove(get_turf(src)) + hidden = null return ..()