Skip to content

Commit

Permalink
fix(mood): apply PetAnimal moodlet to petter instead of pet
Browse files Browse the repository at this point in the history
  • Loading branch information
angelofallars committed Aug 9, 2024
1 parent 36e8d96 commit d74d914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Interaction/InteractionPopupSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit d74d914

Please sign in to comment.