[MIRROR] Fixes chemscan runtiming on mindless (#3543)

* Fixes chemscan runtiming on mindless (#57046)

* Fixes chemscan runtiming on mindless

Co-authored-by: Time-Green <timkoster1@hotmail.com>
This commit is contained in:
SkyratBot
2021-02-20 23:11:11 +00:00
committed by GitHub
co-authored by Time-Green
parent 3364219cf7
commit 29b95d17ff
+1 -1
View File
@@ -452,7 +452,7 @@ GENE SCANNER
else
render_list += "<span class='notice ml-1'>Subject contains no reagents in their stomach.</span>\n"
if(LAZYLEN(M.mind.active_addictions))
if(LAZYLEN(M.mind?.active_addictions))
render_list += "<span class='boldannounce ml-1'>Subject is addicted to the following types of drug:</span>\n"
for(var/datum/addiction/addiction_type as anything in M.mind.active_addictions)
render_list += "<span class='alert ml-2'>[initial(addiction_type.name)]</span>\n"