From dc0df1df66fd850da869163ef5a2a541f68473f9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 28 Aug 2018 10:39:06 +0200 Subject: [PATCH] fixes admin prison --- code/modules/admin/topic.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 9a526c4a7c2..194b1d49035 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1216,8 +1216,7 @@ //strip their stuff and stick it in the crate for(var/obj/item/I in M) - M.unEquip(I) - if(I) + if(M.unEquip(I)) I.loc = locker I.layer = initial(I.layer) I.plane = initial(I.plane)