mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Function overloads condensation (#18939)
Unified most of the procs into one definition, so there are no duplicate around the codebase. Marked some of the above as overridable if a good enough case can be made for them (eg. external dependency or unlikely to be used).
This commit is contained in:
@@ -213,6 +213,9 @@ var/global/maint_all_access = 0
|
||||
security_announcement.Announce("The maintenance access requirement has been readded on all maintenance airlocks.","Attention!")
|
||||
|
||||
/obj/machinery/door/airlock/allowed(mob/M)
|
||||
if(locked)
|
||||
return 0
|
||||
|
||||
var/obj/item/I = M.GetIdCard()
|
||||
if(!I)
|
||||
return ..(M)
|
||||
|
||||
Reference in New Issue
Block a user