mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Fixes shuttle consoles not checking access
Generalizes machine access.
This commit is contained in:
@@ -255,6 +255,10 @@ Class Procs:
|
||||
|
||||
src.add_fingerprint(user)
|
||||
|
||||
if(!allowed(user))
|
||||
user << "\red Access Denied."
|
||||
return 1
|
||||
|
||||
var/area/A = get_area(src)
|
||||
A.powerupdate = 1
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/obj/machinery/computer/shuttle_control/mining
|
||||
name = "mining shuttle console"
|
||||
shuttle_tag = "Mining"
|
||||
req_access = list(access_mining)
|
||||
//req_access = list(access_mining)
|
||||
circuit = /obj/item/weapon/circuitboard/mining_shuttle
|
||||
|
||||
/obj/machinery/computer/shuttle_control/engineering
|
||||
name = "engineering shuttle console"
|
||||
shuttle_tag = "Engineering"
|
||||
req_one_access_txt = "11;24"
|
||||
//req_one_access_txt = "11;24"
|
||||
circuit = /obj/item/weapon/circuitboard/engineering_shuttle
|
||||
|
||||
/obj/machinery/computer/shuttle_control/research
|
||||
name = "research shuttle console"
|
||||
shuttle_tag = "Research"
|
||||
req_access = list(access_research)
|
||||
//req_access = list(access_research)
|
||||
circuit = /obj/item/weapon/circuitboard/research_shuttle
|
||||
Reference in New Issue
Block a user