mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user