diff --git a/code/game/gamemodes/nations/nations.dm b/code/game/gamemodes/nations/nations.dm index 6737ee8b8f4..85e38cb8ed9 100644 --- a/code/game/gamemodes/nations/nations.dm +++ b/code/game/gamemodes/nations/nations.dm @@ -141,7 +141,7 @@ datum/game_mode/nations qdel(oldmmi) /datum/game_mode/nations/proc/remove_access() - for(var/obj/machinery/door/airlock/W in machines) + for(var/obj/machinery/door/airlock/W in airlocks) if(W.z in config.station_levels) W.req_access = list() diff --git a/code/game/machinery/doors/brigdoors.dm b/code/game/machinery/doors/brigdoors.dm index 378ea22c6da..a64b99fd994 100644 --- a/code/game/machinery/doors/brigdoors.dm +++ b/code/game/machinery/doors/brigdoors.dm @@ -42,7 +42,7 @@ pixel_y = ((src.dir & 3)? (src.dir ==1 ? 24 : -32) : (0)) spawn(20) - for(var/obj/machinery/door/window/brigdoor/M in machines) + for(var/obj/machinery/door/window/brigdoor/M in airlocks) if (M.id == src.id) targets += M diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index 260438fbed8..158df539598 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -483,7 +483,7 @@ if(!istype(S0)) return 1 - for(var/obj/machinery/door/airlock/A in machines) + for(var/obj/machinery/door/airlock/A in airlocks) if(A.id_tag == S0.id) spawn(-1) A.close() @@ -493,7 +493,7 @@ if(!istype(S1)) return 0 - for(var/obj/machinery/door/airlock/A in machines) + for(var/obj/machinery/door/airlock/A in airlocks) if(A.id_tag == S1.id) spawn(-1) if(A.locked)