[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:
committed by
Poojawa
parent
9785222155
commit
4b550b40e8
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user