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
This commit is contained in:
n3ophyt3@gmail.com
2011-02-25 17:16:42 +00:00
parent 74aba8b9a8
commit fbbc93f149
+1 -1
View File
@@ -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."