From 9d62303eb4c3e4e0709dc65a59f6febd29f722f1 Mon Sep 17 00:00:00 2001 From: LiberatedWaveMan <81937308+LiberatedWaveMan@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:23:32 -0400 Subject: [PATCH] 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> --- code/game/machinery/cryopod.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 6558f10a1de..689cba6a5f0 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -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)