From c4b9c0fe55ad2429ca48fe1864aa93b34db74885 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Sun, 27 Nov 2016 15:15:48 -0800 Subject: [PATCH] Fixes modifing null values with (e) not working. --- code/modules/admin/verbs/modifyvariables.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/modifyvariables.dm b/code/modules/admin/verbs/modifyvariables.dm index 348fa98054c..2fbc9bf1d3d 100644 --- a/code/modules/admin/verbs/modifyvariables.dm +++ b/code/modules/admin/verbs/modifyvariables.dm @@ -566,7 +566,7 @@ var/list/VVpixelmovement = list("step_x", "step_y", "bound_height", "bound_width if(dir_text) src << "If a direction, direction is: [dir_text]" - if(autodetect_class) + if(autodetect_class && default != VV_NULL) if (default == VV_TEXT) default = VV_MESSAGE class = default