From 56e3d0a37f1b1f1a2fc3a72b6fc8b23d1689ee79 Mon Sep 17 00:00:00 2001 From: DJSnapshot Date: Fri, 16 May 2014 21:26:08 -0700 Subject: [PATCH] Forgot I would need a null check. --- code/modules/client/preferences.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index aa618fd5ad..3f5586c078 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -555,7 +555,7 @@ datum/preferences return proc/SetAntagoptions(mob/user) - if(uplinklocation == "") + if(uplinklocation == "" || !uplinklocation) uplinklocation = "PDA" var/HTML = "" HTML += "
"