From 2ad20f9a27afd772f3f7de72c1e40c96490b77d6 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Thu, 2 Nov 2017 21:28:27 -0700 Subject: [PATCH 1/2] Add off switch to holodeck (#32327) "Holodeck - Offline" is now a selectable program and correctly reverts the holodeck and uses no power. --- code/modules/holodeck/computer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/holodeck/computer.dm b/code/modules/holodeck/computer.dm index cd2a584251..97b610a5d2 100644 --- a/code/modules/holodeck/computer.dm +++ b/code/modules/holodeck/computer.dm @@ -176,7 +176,7 @@ /obj/machinery/computer/holodeck/proc/generate_program_list() for(var/typekey in subtypesof(program_type)) var/area/holodeck/A = locate(typekey) in GLOB.sortedAreas - if(!A || A == offline_program || !A.contents.len) + if(!A || !A.contents.len) continue var/list/info_this = list() info_this["name"] = A.name