diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 465313ff493..02cdbf43b15 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -251,6 +251,11 @@ "You shake [src] trying to wake [p_them()] up!",\ ) return + // If it has any of the highfive statuses, dap, handshake, etc + var/datum/status_effect/effect = has_status_effect_type(STATUS_EFFECT_HIGHFIVE) + if(effect) + M.apply_status_effect(effect.type) + return // BEGIN HUGCODE - N3X playsound(get_turf(src), 'sound/weapons/thudswoosh.ogg', 50, 1, -1) if(M.zone_selected == "head") @@ -259,11 +264,6 @@ "You pat [src] on the head.",\ ) return - // If it has any of the highfive statuses, dap, handshake, etc - var/datum/status_effect/effect = has_status_effect_type(STATUS_EFFECT_HIGHFIVE) - if(effect) - M.apply_status_effect(effect.type) - return M.visible_message(\ "[M] gives [src] a [pick("hug","warm embrace")].",\ "You hug [src].",\