diff --git a/code/game/objects/items/devices/scanners.dm b/code/game/objects/items/devices/scanners.dm
index 26f8eadd194..45db87e7813 100644
--- a/code/game/objects/items/devices/scanners.dm
+++ b/code/game/objects/items/devices/scanners.dm
@@ -452,7 +452,7 @@ GENE SCANNER
else
render_list += "Subject contains no reagents in their stomach.\n"
- if(LAZYLEN(M.mind.active_addictions))
+ if(LAZYLEN(M.mind?.active_addictions))
render_list += "Subject is addicted to the following types of drug:\n"
for(var/datum/addiction/addiction_type as anything in M.mind.active_addictions)
render_list += "[initial(addiction_type.name)]\n"