[MIRROR] Fixes some traits runtimes that are being spammed (#5875)

* .len runtime fix (#36275)

* Fixes some traits runtimes that are being spammed
This commit is contained in:
CitadelStationBot
2018-03-10 07:12:55 -06:00
committed by Poojawa
parent 9785222155
commit 4b550b40e8

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)