Merge pull request #9431 from FlattestGuitar/admin-prison

fixes admin prison
This commit is contained in:
Crazy Lemon
2018-08-28 10:09:57 -07:00
committed by GitHub
+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)