Makes blob spores/blobbers and mice GC properly (#17237)

This commit is contained in:
Farie82
2021-12-17 10:46:39 +01:00
committed by GitHub
parent 0ad8fac9c5
commit 72a98ddd67
4 changed files with 12 additions and 7 deletions
@@ -212,9 +212,9 @@
var/datum/mind/blobmind = mind
var/client/C = client
if(istype(blobmind) && istype(C))
blobmind.special_role = SPECIAL_ROLE_BLOB
var/obj/structure/blob/core/core = new(T, C, 3)
core.lateblobtimer()
qdel(blobmind) // Delete the old mind. THe blob will make a new one
else
new /obj/structure/blob/core(T) // Ghosts will be prompted to control it.
if(ismob(loc)) // in case some taj/etc ate the mouse.