Skip to content

Commit

Permalink
[MIRROR] fixes inability to create material airlocks (#1194)
Browse files Browse the repository at this point in the history
* fixes inability to create material airlocks (#81711)

## About The Pull Request

Fixes tgstation/tgstation#81710

runtime due to parent proc not returning the airlock
also added an update_appearance()
## Changelog
:cl:
fix: You can build material airlocks again
/:cl:

* fixes inability to create material airlocks

---------

Co-authored-by: 13spacemen <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Feb 28, 2024
1 parent 7c2ec91 commit 7aa7501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/game/objects/structures/door_assembly.dm
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
door.update_appearance()

qdel(src)
return door

/obj/structure/door_assembly/update_overlays()
. = ..()
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/structures/door_assembly_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,5 @@
/obj/structure/door_assembly/door_assembly_material/finish_door()
var/obj/machinery/door/airlock/door = ..()
door.set_custom_materials(custom_materials)
door.update_appearance()
return door

0 comments on commit 7aa7501

Please sign in to comment.