From d77b4f21e4151e152cfd219920c2d5099a66bdcf Mon Sep 17 00:00:00 2001 From: Drathek <76988376+Drulikar@users.noreply.github.com> Date: Fri, 7 Jun 2024 03:32:09 -0700 Subject: [PATCH] Fix Airlock Destroy (#6385) # About the pull request This PR fixes airlocks destroying their linked airlock rather than just releasing the reference to it. # Explain why it's good for the game Fixes ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/15d6610f-5422-4662-bb99-697b032399d9) # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: Drathek fix: Fixed linked airlocks destroying their linked airlock incorrectly /:cl: --- code/game/machinery/doors/airlock.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index dbd40409c09e..e8db9dd63875 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -76,7 +76,7 @@ GLOBAL_LIST_INIT(airlock_wire_descriptions, list( /obj/structure/machinery/door/airlock/Destroy() QDEL_NULL_LIST(attached_signallers) - QDEL_NULL(closeOther) + closeOther = null QDEL_NULL(electronics) return ..()