mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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
duncathan salt
parent
b8c38705aa
commit
292f6f5f0b
@@ -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