.len runtime fix (#36275)

This commit is contained in:
kevinz000
2018-03-10 02:04:06 -06:00
committed by duncathan salt
parent ec6f62fd07
commit 2cd09cc381
+1 -1
View File
@@ -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, "<span class='boldannounce'>Your antagonistic nature has caused you to renounce your pacifism.</span>")
qdel(src)