fixes admin prison

This commit is contained in:
Unknown
2018-08-28 10:39:06 +02:00
parent 98df7d3e6d
commit dc0df1df66
+1 -2
View File
@@ -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)