Add off switch to holodeck (#32327)

"Holodeck - Offline" is now a selectable program and correctly reverts
the holodeck and uses no power.
This commit is contained in:
Tad Hardesty
2017-11-02 21:28:27 -07:00
committed by CitadelStationBot
parent 910e6b6396
commit 2ad20f9a27
+1 -1
View File
@@ -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