From 530c939208daee0485e691e7613088de26db4ad9 Mon Sep 17 00:00:00 2001 From: "natakilar@gmail.com" Date: Tue, 24 Jan 2023 20:58:30 -0500 Subject: [PATCH] Fixes landmark GC issue --- mods/persistence/modules/overmap/sectors.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/persistence/modules/overmap/sectors.dm b/mods/persistence/modules/overmap/sectors.dm index 7a4cceeb3f8..794bbcfd3ba 100644 --- a/mods/persistence/modules/overmap/sectors.dm +++ b/mods/persistence/modules/overmap/sectors.dm @@ -52,6 +52,7 @@ // a ridiculous amount of copypasta. /obj/effect/overmap/visitable/add_landmark(obj/effect/shuttle_landmark/landmark, shuttle_restricted_type) if(istype(landmark, /obj/effect/shuttle_landmark/visiting_shuttle)) + SSshuttle.unregister_landmark(landmark) qdel(landmark) return . = ..()