[MIRROR] replaces a cursed proc in trauma code with a blessed signal (#1184)

* replaces a cursed proc in trauma code with a blessed signal (#54208)

code: some cursed snowflake proc call now uses a blessed signal in trauma code

* replaces a cursed proc in trauma code with a blessed signal

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2020-10-07 15:58:16 +02:00
committed by GitHub
co-authored by Qustinnus
parent 4d561124ed
commit 35cbcf8a8b
4 changed files with 6 additions and 8 deletions
@@ -446,6 +446,7 @@
//SKYRAT EDIT ADDITION END
else
SEND_SIGNAL(M, COMSIG_CARBON_HUG, M, src)
M.visible_message("<span class='notice'>[M] hugs [src] to make [p_them()] feel better!</span>", \
null, "<span class='hear'>You hear the rustling of clothes.</span>", DEFAULT_MESSAGE_RANGE, list(M, src))
to_chat(M, "<span class='notice'>You hug [src] to make [p_them()] feel better!</span>")
@@ -476,8 +477,6 @@
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "friendly_hug", /datum/mood_event/besthug, M)
else if (mood.sanity >= SANITY_DISTURBED)
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "friendly_hug", /datum/mood_event/betterhug, M)
for(var/datum/brain_trauma/trauma in M.get_traumas())
trauma.on_hug(M, src)
AdjustStun(-60)
AdjustKnockdown(-60)
AdjustUnconscious(-60)