mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Blob factories now properly remove their listings from mobs when destroyed.
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
var/spore_cooldown = 8 SECONDS
|
||||
|
||||
/obj/structure/blob/factory/Destroy()
|
||||
for(var/mob/living/simple_mob/blob/spore/spore in spores)
|
||||
for(var/mob/living/L in spores)
|
||||
var/mob/living/simple_mob/blob/spore/spore = L
|
||||
if(istype(spore) && spore.factory == src)
|
||||
spore.factory = null
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user