Skip to content

Commit

Permalink
Fix Airlock Destroy (cmss13-devs#6385)
Browse files Browse the repository at this point in the history
# 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
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl: Drathek
fix: Fixed linked airlocks destroying their linked airlock incorrectly
/:cl:
  • Loading branch information
Drulikar authored and Git-Nivrak committed Jun 9, 2024
1 parent 50c5b5f commit d77b4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..()

Expand Down

0 comments on commit d77b4f2

Please sign in to comment.