Changes I.contents.len to (length(I,contents))

I have no idea what this does, but the suggestion came from AA so..

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
LiberatedWaveMan
2021-07-26 15:23:32 -04:00
committed by GitHub
co-authored by AffectedArc07
parent 7251277291
commit 9d62303eb4
+1 -1
View File
@@ -346,7 +346,7 @@
/obj/machinery/cryopod/proc/handle_contents(obj/item/I)
if(I.contents.len) //Make sure we catch anything not handled by qdel() on the items.
if(length(I.contents)) //Make sure we catch anything not handled by qdel() on the items.
if(should_preserve_item(I) != CRYO_DESTROY) // Don't remove the contents of things that need preservation
return
for(var/obj/item/O in I.contents)