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:
committed by
CitadelStationBot
parent
910e6b6396
commit
2ad20f9a27
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user