Fix some harddels. (#21373)

Let's try to haunt down this brain and mannequin harddel bullshit

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2025-09-29 23:20:44 +00:00
committed by GitHub
co-authored by Matt Atlas
parent eeefc04d3a
commit 7f474bd363
10 changed files with 39 additions and 9 deletions
@@ -265,7 +265,6 @@
var/mob_type = pick(repopulate_types)
var/mob/S = new mob_type(T)
animals += S
GLOB.death_event.register(S, src, PROC_REF(remove_animal))
RegisterSignal(S, COMSIG_QDELETING, PROC_REF(remove_animal))
adapt_animal(S)
if(animals.len >= max_animal_count)
@@ -287,7 +286,6 @@
/obj/effect/overmap/visitable/sector/exoplanet/proc/remove_animal(mob/M)
animals -= M
GLOB.death_event.unregister(M, src)
UnregisterSignal(M, COMSIG_QDELETING)
repopulate_types |= M.type