From 78fe2df629743b1abae6f5c8189096c26ab535fd Mon Sep 17 00:00:00 2001 From: Drathek <76988376+Drulikar@users.noreply.github.com> Date: Fri, 8 Mar 2024 07:13:40 -0800 Subject: [PATCH] Fix LateInitialize not occurring for poddoors for relativewall_neighbours (#5892) # About the pull request This PR is a followup to #5821 where I forgot to check if LateInitialize was occurring since it requires a hint to do so. Previously they would call the proc after a timer, but it made more sense to do so in LateInitialize. However, I am not able to find anywhere this even visually has any effect so I'm not sure its necessary for the doors to be calling `relativewall_neighbours`. # Explain why it's good for the game Fixes dead code. # 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: Fix pod doors no longer updating adjacent tiles /:cl: --- code/game/machinery/doors/poddoor.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/doors/poddoor.dm b/code/game/machinery/doors/poddoor.dm index 85004125a77b..df6be1a44b14 100644 --- a/code/game/machinery/doors/poddoor.dm +++ b/code/game/machinery/doors/poddoor.dm @@ -283,6 +283,10 @@ /obj/structure/machinery/door/airlock, ) +/obj/structure/machinery/door/poddoor/almayer/Initialize() + . = ..() + return INITIALIZE_HINT_LATELOAD + /obj/structure/machinery/door/poddoor/almayer/LateInitialize() . = ..() relativewall_neighbours()