From 97e4058fc2ffd094878304b51a4c3067fa0cd159 Mon Sep 17 00:00:00 2001 From: Tkdrg Date: Fri, 18 Dec 2015 16:55:44 -0300 Subject: [PATCH] Fixes runtime when VVing datums I'm dumb. --- code/datums/datumvars.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 += ""