From 2cd09cc3819194a963d114f6efc2848d2dbdb58c Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sat, 10 Mar 2018 00:04:06 -0800 Subject: [PATCH] .len runtime fix (#36275) --- code/datums/traits/negative.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/traits/negative.dm b/code/datums/traits/negative.dm index 4bb004f6c8c..023a8c2197d 100644 --- a/code/datums/traits/negative.dm +++ b/code/datums/traits/negative.dm @@ -43,7 +43,7 @@ medical_record_text = "Patient is unusually pacifistic and cannot bring themselves to cause physical harm." /datum/trait/nonviolent/on_process() - if(trait_holder.mind && trait_holder.mind.antag_datums.len) + if(trait_holder.mind && LAZYLEN(trait_holder.mind.antag_datums)) to_chat(trait_holder, "Your antagonistic nature has caused you to renounce your pacifism.") qdel(src)