mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fix door lock.
This commit is contained in:
@@ -92,6 +92,10 @@ def Compile(serverState):
|
||||
if serverState:
|
||||
send_nudge('Update completed. Restarting...')
|
||||
log.info('Server updated. Restarting...')
|
||||
|
||||
# Recheck in a bit to be sure
|
||||
lastState=False
|
||||
|
||||
subprocess.call(RESTART_COMMAND,shell=True)
|
||||
|
||||
def PerformServerReadyCheck(serverState):
|
||||
|
||||
@@ -30,6 +30,9 @@ obj/machinery/door/airlock/receive_signal(datum/signal/signal)
|
||||
update_icon()
|
||||
|
||||
if("toggle_lock")
|
||||
if(!density)
|
||||
close(1)
|
||||
sleep(2)
|
||||
locked = !locked
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
"abI" = (/obj/structure/grille,/obj/structure/window/reinforced,/obj/structure/window/reinforced{dir = 1},/obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden,/obj/structure/cable{d2 = 8; icon_state = "0-8"},/obj/structure/cable{icon_state = "0-4"; d2 = 4},/turf/simulated/floor/plating,/area/security/gas_chamber)
|
||||
"abJ" = (/obj/structure/grille,/obj/structure/window/reinforced{dir = 4},/obj/structure/window/reinforced,/obj/structure/window/reinforced{dir = 1},/obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden,/obj/structure/cable{icon_state = "0-4"; d2 = 4},/obj/structure/cable{d2 = 8; icon_state = "0-8"},/turf/simulated/floor/plating,/area/security/gas_chamber)
|
||||
"abK" = (/obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden,/obj/structure/cable{d1 = 4; d2 = 8; icon_state = "4-8"; pixel_x = 0; tag = ""},/obj/structure/cable{d1 = 1; d2 = 4; icon_state = "1-4"; tag = ""},/turf/simulated/wall/r_wall,/area/security/gas_chamber)
|
||||
"abL" = (/obj/structure/cable{d1 = 1; d2 = 2; icon_state = "1-2"; tag = ""},/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 10},/obj/structure/cable{d1 = 2; d2 = 8; icon_state = "2-8"; tag = ""},/obj/machinery/door/airlock/highsecurity{g_amt = 1439; id_tag = "gas_chamber_access"; name = "Gas Chamber Access"; req_access_txt = "2"},/turf/simulated/floor{icon_state = "white"},/area/security/gas_chamber)
|
||||
"abL" = (/obj/structure/cable{d1 = 1; d2 = 2; icon_state = "1-2"; tag = ""},/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 10},/obj/structure/cable{d1 = 2; d2 = 8; icon_state = "2-8"; tag = ""},/obj/machinery/door/airlock/highsecurity{frequency = 1439; id_tag = "gas_chamber_access"; name = "Gas Chamber Access"; req_access_txt = "2"},/turf/simulated/floor{icon_state = "white"},/area/security/gas_chamber)
|
||||
"abM" = (/obj/machinery/portable_atmospherics/scrubber/huge/stationary,/obj/machinery/atmospherics/pipe/simple{dir = 6},/turf/simulated/floor/plating,/area/security/prison)
|
||||
"abN" = (/obj/machinery/vending/snack,/obj/machinery/atmospherics/pipe/simple{dir = 4},/turf/simulated/floor{icon_state = "floorgrime"},/area/security/prison)
|
||||
"abO" = (/obj/machinery/atmospherics/pipe/simple{dir = 4},/obj/structure/cable{d1 = 2; d2 = 4; icon_state = "2-4"; tag = ""},/obj/structure/cable{d1 = 1; d2 = 2; icon_state = "1-2"; tag = ""},/turf/simulated/floor{icon_state = "floorgrime"},/area/security/prison)
|
||||
|
||||
Reference in New Issue
Block a user