mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
close layer
This commit is contained in:
@@ -70,9 +70,7 @@
|
|||||||
remove_from_areas()
|
remove_from_areas()
|
||||||
affecting_areas.Cut()
|
affecting_areas.Cut()
|
||||||
var/turf/T = get_turf(src)
|
var/turf/T = get_turf(src)
|
||||||
spawn(0)
|
air_update_turf()
|
||||||
if(T)
|
|
||||||
T.ImmediateCalculateAdjacentTurfs()
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/machinery/door/firedoor/Bumped(atom/movable/AM)
|
/obj/machinery/door/firedoor/Bumped(atom/movable/AM)
|
||||||
@@ -225,6 +223,7 @@
|
|||||||
if(welded)
|
if(welded)
|
||||||
add_overlay("welded_open")
|
add_overlay("welded_open")
|
||||||
SSdemo.mark_dirty(src)
|
SSdemo.mark_dirty(src)
|
||||||
|
air_update_turf()
|
||||||
|
|
||||||
/obj/machinery/door/firedoor/open()
|
/obj/machinery/door/firedoor/open()
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -286,6 +285,7 @@
|
|||||||
/obj/machinery/door/firedoor/proc/emergency_pressure_close()
|
/obj/machinery/door/firedoor/proc/emergency_pressure_close()
|
||||||
density = TRUE
|
density = TRUE
|
||||||
air_update_turf()
|
air_update_turf()
|
||||||
|
layer = closingLayer
|
||||||
update_icon()
|
update_icon()
|
||||||
if(visible && !glass)
|
if(visible && !glass)
|
||||||
set_opacity(1)
|
set_opacity(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user