mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user