Skip to content

Commit

Permalink
Merge pull request #3 from angelofallars/fix-petting
Browse files Browse the repository at this point in the history
Fix PetAnimal moodlet
  • Loading branch information
VMSolidus committed Aug 9, 2024
2 parents 36e8d96 + d74d914 commit 6dc028f
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 6dc028f

Please sign in to comment.