From b67c8ca55598ea80d7b45321291af55d23a0bb66 Mon Sep 17 00:00:00 2001 From: Zonespace <41448081+Zonespace27@users.noreply.github.com> Date: Sun, 7 Jul 2024 08:03:53 +0200 Subject: [PATCH] Fix req tutorial landmark not being cleaned up (#6634) # About the pull request The `empty()` proc that's called to clean up reservation turfs ignores landmarks. This isn't an issue for other landmarks, but it is for this one as it's mapped in and not manually tracked. Closes #6629 # Explain why it's good for the game #6629 # Changelog :cl: fix: Fixed a rare case of people on shuttles being inexplicably deleted. /:cl: Co-authored-by: John Doe --- code/datums/tutorial/marine/reqs_line.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/tutorial/marine/reqs_line.dm b/code/datums/tutorial/marine/reqs_line.dm index ba2d7ddade9d..5b63af30720e 100644 --- a/code/datums/tutorial/marine/reqs_line.dm +++ b/code/datums/tutorial/marine/reqs_line.dm @@ -106,6 +106,8 @@ active_agent = null loser_agent = null QDEL_LIST(agents) + var/obj/effect/landmark/tutorial/reqs_line_cleaner/line_cleaner = locate() in GLOB.landmarks_list + qdel(line_cleaner) return ..() /datum/tutorial/marine/reqs_line/init_map()