mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
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:
co-authored by
AffectedArc07
parent
7251277291
commit
9d62303eb4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user