From 617c31f5b40a3ed3363c95bb31ff4cbb978f8fd9 Mon Sep 17 00:00:00 2001 From: forest2001 <41653574+realforest2001@users.noreply.github.com> Date: Wed, 19 Jul 2023 11:46:29 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> --- code/modules/mob/living/carbon/human/species/species.dm | 2 ++ code/modules/unit_tests/emote_panels.dm | 1 + 2 files changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm index acb1495e50fd..b6eeb68e95d3 100644 --- a/code/modules/mob/living/carbon/human/species/species.dm +++ b/code/modules/mob/living/carbon/human/species/species.dm @@ -122,6 +122,8 @@ /datum/species/proc/larva_impregnated(obj/item/alien_embryo/embryo) return + +/// Override to add an emote panel to a species /datum/species/proc/open_emote_panel() return diff --git a/code/modules/unit_tests/emote_panels.dm b/code/modules/unit_tests/emote_panels.dm index 51bdb78331d5..87bbd5e15620 100644 --- a/code/modules/unit_tests/emote_panels.dm +++ b/code/modules/unit_tests/emote_panels.dm @@ -5,6 +5,7 @@ for(var/datum/emote/living/carbon/human/synthetic/working_joe/wj_emote as anything in subtypesof(/datum/emote/living/carbon/human/synthetic/working_joe)) if(!initial(wj_emote.category)) TEST_FAIL("Emote [wj_emote] did not have a category!") + for(var/datum/emote/living/carbon/human/yautja/yautja_emote as anything in subtypesof(/datum/emote/living/carbon/human/yautja)) if(!initial(yautja_emote.category)) TEST_FAIL("Emote [yautja_emote] did not have a category!")