mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Put APCs and SMESes into GLOB lists to ease iteration
This commit is contained in:
@@ -345,7 +345,7 @@
|
||||
if(!(A.type in areas_all))
|
||||
areas_all.Add(A.type)
|
||||
|
||||
for(var/obj/machinery/power/apc/APC in machines)
|
||||
for(var/obj/machinery/power/apc/APC in GLOB.apcs)
|
||||
var/area/A = get_area(APC)
|
||||
if(A && !(A.type in areas_with_APC))
|
||||
areas_with_APC.Add(A.type)
|
||||
|
||||
Reference in New Issue
Block a user