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

pull/39/head
Liza 2024-08-31 21:50:50 +02:00
parent c193789d3c
commit d76242adfe
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 2 additions and 1 deletions

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 [];