mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-16 02:17:06 +01:00
TGUI Hotfixes, Oh God Am I The TGUI Guy Now Edition (#22648)
changes: - bugfix: "Restores the Modular Computer access cable header button for connecting to IPCs and machinery." - bugfix: "Fixes display issues in the Robotics interface's <collapsible> elements." - bugfix: "Fixes in-chat feedback text provided by the Cyborg Analyzer (organ name and status now both inline)." - bugfix: "Crew Manifest PDA app now filters out off-ship personnel." - bugfix: "Fixes Autolathe TGUI appending search- and category- filtered recipes instead of recomputing the list with those filters." - bugfix: "Fixes runtime when ghost opens dedicated camera console UI." - code_imp: "Update some defs referencing 'supply' department to 'operations'." - refactor: "Standardizes all interface search bars to use the native 'SearchBar' component." - refactor: "AtmosAlarmControl interface now correctly auto-sorts alarms by alert status."
This commit is contained in:
@@ -92,11 +92,18 @@
|
||||
if(!istype(user))
|
||||
return 0
|
||||
|
||||
var/obj/item/card/id/I = user.GetIdCard()
|
||||
var/I = user.GetIdCard()
|
||||
if(!I)
|
||||
return 0
|
||||
|
||||
if(access in I.access)
|
||||
var/list/access_list
|
||||
if(islist(I))
|
||||
access_list = I
|
||||
else if(istype(I, /obj/item))
|
||||
var/obj/item/item = I
|
||||
access_list = item.GetAccess()
|
||||
|
||||
if(access in access_list)
|
||||
return 1
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user