diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index 7f3f58d85bf..848dd8cf5b5 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -247,7 +247,8 @@ datum/proc/on_varedit(modified_var) //called whenever a var is edited body += "" else var/atom/A = D - body += "" + if(istype(A)) + body += "" body += ""