mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +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
|
var/spore_cooldown = 8 SECONDS
|
||||||
|
|
||||||
/obj/structure/blob/factory/Destroy()
|
/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)
|
if(istype(spore) && spore.factory == src)
|
||||||
spore.factory = null
|
spore.factory = null
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user