mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 13:47:33 +01:00
Merge pull request #11970 from Heroman3003/holopower
Makes holodeck turn power on/off depending on state
This commit is contained in:
@@ -332,6 +332,12 @@
|
||||
|
||||
linkedholodeck.sound_env = A.sound_env
|
||||
|
||||
if(prog == powerdown_program)
|
||||
linkedholodeck.requires_power = TRUE
|
||||
else
|
||||
linkedholodeck.requires_power = FALSE
|
||||
linkedholodeck.power_change()
|
||||
|
||||
spawn(30)
|
||||
for(var/obj/effect/landmark/L in linkedholodeck)
|
||||
if(L.name=="Atmospheric Test Start")
|
||||
|
||||
Reference in New Issue
Block a user