From 53c2f8728c6dca3eb8f787ba2cd41430e89ca648 Mon Sep 17 00:00:00 2001 From: LT3 <83487515+lessthnthree@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:22:54 -0800 Subject: [PATCH] Fix ghosts being unable to flip (#2544) ## About The Pull Request As it says ## Changelog :cl: LT3 fix: Ghosts can use the flip emote again /:cl: --- code/modules/mob/emote.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/emote.dm b/code/modules/mob/emote.dm index 0c7c75dc2bd..3ec9cccbc41 100644 --- a/code/modules/mob/emote.dm +++ b/code/modules/mob/emote.dm @@ -84,8 +84,8 @@ // BUBBER EDIT CHANGE BEGIN - Flip Cooldown /datum/emote/flip/run_emote(mob/user, params , type_override, intentional) . = ..() - var/mob/living/carbon/flippy_mcgee = user - if(flippy_mcgee) + if(iscarbon(user)) + var/mob/living/carbon/flippy_mcgee = user flippy_mcgee.set_confusion_if_lower(FLIP_EMOTE_DURATION) if(flippy_mcgee.get_timed_status_effect_duration(/datum/status_effect/confusion) > BEYBLADE_PUKE_THRESHOLD) flippy_mcgee.vomit(VOMIT_CATEGORY_KNOCKDOWN, lost_nutrition = BEYBLADE_PUKE_NUTRIENT_LOSS, distance = 0)