From fbbc93f149e7371cf1203f448232597027553753 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Fri, 25 Feb 2011 17:16:42 +0000 Subject: [PATCH] You can now return to the main menu on an R&D console without having scientist access. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1133 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/research/rdconsole.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/research/rdconsole.dm b/code/game/research/rdconsole.dm index f2cd223ba5b..e6005e4b75a 100644 --- a/code/game/research/rdconsole.dm +++ b/code/game/research/rdconsole.dm @@ -174,7 +174,7 @@ won't update every console in existence) but it's more of a hassle to do. Also, usr.machine = src if(href_list["menu"]) //Switches menu screens. Converts a sent text string into a number. Saves a LOT of code. var/temp_screen = text2num(href_list["menu"]) - if(screen <= 1.1 || (3 <= temp_screen && 4.9 >= temp_screen) || src.allowed(usr)) //Unless you are making something, you need access. + if(screen <= 1.1 || (3 <= temp_screen && 4.9 >= temp_screen) || temp_screen == 1.0 || src.allowed(usr)) //Unless you are making something, you need access. screen = temp_screen else usr << "Unauthorized Access."