From 268a77cde69238feadf17bf6d0952eb2681a4f66 Mon Sep 17 00:00:00 2001 From: mikomyazaki Date: Thu, 7 Apr 2022 16:36:08 +0100 Subject: [PATCH] Maint drone ghostspawner doesn't use the ghostrole spawner list, so there's no point leaving this in to cause runtimes. --- .../living/silicon/robot/drone/drone_manufacturer.dm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm index d41f119c2e3..91244801c28 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm @@ -33,18 +33,6 @@ check_add_to_late_firers() fabricator_tag = current_map.station_short -/obj/machinery/drone_fabricator/do_late_fire() - enable_drone_spawn() - -/obj/machinery/drone_fabricator/Destroy() - . = ..() - var/datum/ghostspawner/G = SSghostroles.spawners[drone_ghostrole_name] - LAZYREMOVE(G.spawnpoints, get_turf(src)) - -/obj/machinery/drone_fabricator/proc/enable_drone_spawn() - var/datum/ghostspawner/G = SSghostroles.spawners[drone_ghostrole_name] - LAZYADD(G.spawnpoints, get_turf(src)) - /obj/machinery/drone_fabricator/derelict name = "construction drone fabricator" fabricator_tag = "Derelict"