From d74d914a07967e5756d4f2b74ec294110dd842b7 Mon Sep 17 00:00:00 2001 From: Angelo Fallaria Date: Sat, 10 Aug 2024 01:41:26 +0800 Subject: [PATCH] fix(mood): apply PetAnimal moodlet to petter instead of pet --- Content.Server/Interaction/InteractionPopupSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Interaction/InteractionPopupSystem.cs b/Content.Server/Interaction/InteractionPopupSystem.cs index afab283b348..a028598df03 100644 --- a/Content.Server/Interaction/InteractionPopupSystem.cs +++ b/Content.Server/Interaction/InteractionPopupSystem.cs @@ -84,12 +84,12 @@ private void SharedInteract( if (component.InteractSuccessString == "hugging-success-generic") { var ev = new MoodEffectEvent("BeingHugged"); - RaiseLocalEvent(uid, ev); + RaiseLocalEvent(target, ev); } else if (component.InteractSuccessString.Contains("petting-success-")) { var ev = new MoodEffectEvent("PetAnimal"); - RaiseLocalEvent(uid, ev); + RaiseLocalEvent(user, ev); } }