Skip to content

Commit

Permalink
Check for empty Guid speaker.
Browse files Browse the repository at this point in the history
  • Loading branch information
isadorasophia committed Nov 23, 2023
1 parent 458f910 commit 09a64c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Murder/Core/Dialogs/CharacterRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ private Line FormatLine(Line line)
return line;
}

if (line.Speaker is null)
if (line.Speaker is null || line.Speaker == Guid.Empty)
{
line = line.WithSpeakerAndPortrait(_character.Speaker, _character.Portrait);
}
Expand Down

0 comments on commit 09a64c6

Please sign in to comment.