Skip to content

Commit fa87514

Browse files
authored
FixAirlockMoodyLights (#37026)
1 parent 254c5ef commit fa87514

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

code/game/machinery/doors/airlock.dm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -514,25 +514,25 @@ About the new airlock wires panel:
514514
overlays.len = 0
515515
if(panel_open)
516516
flick("o_door_opening", src)
517-
anim(target = src, a_icon = icon, flick_anim = "o_door_opening-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
517+
anim(target = src, a_icon = icon, flick_anim = "o_door_opening-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
518518
else
519519
flick("door_opening", src)
520-
anim(target = src, a_icon = icon, flick_anim = "door_opening-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
520+
anim(target = src, a_icon = icon, flick_anim = "door_opening-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
521521
if("closing")
522522
if(overlays)
523523
overlays.len = 0
524524
if(panel_open)
525525
flick("o_door_closing", src)
526-
anim(target = src, a_icon = icon, flick_anim = "o_door_closing-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
526+
anim(target = src, a_icon = icon, flick_anim = "o_door_closing-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
527527
else
528528
flick("door_closing", src)
529-
anim(target = src, a_icon = icon, flick_anim = "door_closing-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
529+
anim(target = src, a_icon = icon, flick_anim = "door_closing-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
530530
if("spark")
531531
flick("door_spark", src)
532-
anim(target = src, a_icon = icon, flick_anim = "door_spark-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
532+
anim(target = src, a_icon = icon, flick_anim = "door_spark-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
533533
if("deny")
534534
flick("door_deny", src)
535-
anim(target = src, a_icon = icon, flick_anim = "door_deny-moody", sleeptime = animation_delay, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
535+
anim(target = src, a_icon = icon, flick_anim = "door_deny-moody", sleeptime = animation_delay, plane = LIGHTING_PLANE, blend = BLEND_ADD)
536536
return
537537

538538
/obj/machinery/door/airlock/attack_ai(mob/user as mob)

code/game/machinery/doors/firedoor.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@ var/global/list/alert_overlays_global = list()
379379
flick("door_closing", src)
380380
if("spark")
381381
flick("door_spark", src)
382-
anim(target = src, a_icon = icon, flick_anim = "door_spark-moody", sleeptime = 10, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
382+
anim(target = src, a_icon = icon, flick_anim = "door_spark-moody", sleeptime = 10, plane = LIGHTING_PLANE, blend = BLEND_ADD)
383383
if("deny")
384384
flick("door_deny", src)
385-
anim(target = src, a_icon = icon, flick_anim = "door_deny-moody", sleeptime = 5, plane = ABOVE_LIGHTING_PLANE, blend = BLEND_ADD)
385+
anim(target = src, a_icon = icon, flick_anim = "door_deny-moody", sleeptime = 5, plane = LIGHTING_PLANE, blend = BLEND_ADD)
386386

387387
/obj/machinery/door/firedoor/emag_ai(mob/living/silicon/ai/A)
388388
if(density)

0 commit comments

Comments
 (0)