Skip to content

Commit

Permalink
Fix req tutorial landmark not being cleaned up (#6634)
Browse files Browse the repository at this point in the history
# 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 <[email protected]>
  • Loading branch information
Zonespace27 and johndoe2013 committed Jul 7, 2024
1 parent 216dccb commit b67c8ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/datums/tutorial/marine/reqs_line.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b67c8ca

Please sign in to comment.