From 01f6c1c268edf1728453ffbdf7c8f479f932620c Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 6 Sep 2023 12:51:55 +0200 Subject: [PATCH] [MIRROR] Fixed snow legion corpse spawning. [MDB IGNORE] (#23540) * Fixed snow legion corpse spawning. (#78147) ## About The Pull Request Resolves #77973 Due to a pair of oversights, snow legions erroneously drop two corpses when killed, and both of these corpses use the spawnlists for Lavaland legions. The duplicate has been removed, and the snow legion corpse spawner is no longer a subtype of the regular one - which was causing the issue. Now the new corpses will actually spawn. ## Why It's Good For The Game Makes #76898 actually work. ## Changelog :cl: fix: Snow legions now drop only one corpse, and no longer drop Lavaland corpses. /:cl: * Fixed snow legion corpse spawning. --------- Co-authored-by: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com> --- .../mob/living/simple_animal/hostile/mining_mobs/hivelord.dm | 4 +--- code/modules/mob_spawn/corpses/mining_corpses.dm | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm index 9a00d34e34e..faabb633104 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm @@ -160,9 +160,7 @@ else if(dwarf_mob) new /obj/effect/mob_spawn/corpse/human/legioninfested/dwarf(our_turf) else if(snow_legion) - new /obj/effect/mob_spawn/corpse/human/legioninfested/snow(our_turf) - - new /obj/effect/mob_spawn/corpse/human/legioninfested/dwarf(our_turf) + new /obj/effect/mob_spawn/corpse/human/snowlegioninfested(our_turf) else new /obj/effect/mob_spawn/corpse/human/legioninfested(our_turf) return ..() diff --git a/code/modules/mob_spawn/corpses/mining_corpses.dm b/code/modules/mob_spawn/corpses/mining_corpses.dm index 8f28bbd430d..c0ea4b6af42 100644 --- a/code/modules/mob_spawn/corpses/mining_corpses.dm +++ b/code/modules/mob_spawn/corpses/mining_corpses.dm @@ -59,7 +59,7 @@ outfit = /datum/outfit/consumed_shadowperson . = ..() -/obj/effect/mob_spawn/corpse/human/legioninfested/snow/Initialize(mapload) +/obj/effect/mob_spawn/corpse/human/snowlegioninfested/Initialize(mapload) var/corpse_theme = pick_weight(list( "Miner" = 64, "Clown" = 5,