Fixes VV not updating properly for non-datums

Fixes #13211
This commit is contained in:
Tkdrg
2015-11-25 16:35:59 -03:00
parent fc989621e7
commit f7c4ac2d9d
+1 -1
View File
@@ -411,7 +411,7 @@ body
else if(href_list["datumrefresh"])
var/datum/DAT = locate(href_list["datumrefresh"])
if(!istype(DAT, /datum))
if(!DAT) //can't be an istype() because /client etc aren't datums
return
src.debug_variables(DAT)