Fix emote use in 'Familiar Faces' once and for all

This commit is contained in:
Liza 2024-08-31 21:50:50 +02:00
parent c193789d3c
commit d76242adfe
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -14,7 +14,8 @@ internal static class Emote
{
public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
{
if (step.InteractionType is EInteractionType.AcceptQuest or EInteractionType.CompleteQuest)
if (step.InteractionType is EInteractionType.AcceptQuest or EInteractionType.CompleteQuest
or EInteractionType.SinglePlayerDuty)
{
if (step.Emote == null)
return [];