Skip to content

Commit

Permalink
fix: properly deserialize DialogueContext's message log.
Browse files Browse the repository at this point in the history
marking it as private set made it unable to be deserialized.
  • Loading branch information
purifetchi authored and Ktosi33 committed Nov 10, 2023
1 parent 418dcab commit 098496d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DialogueContext : Entity
/// <summary>
/// The message log for this dialogue context.
/// </summary>
public List<DialogueMessage> MessageLog { get; private set; } = null!;
public List<DialogueMessage> MessageLog { get; init; } = null!;

/// <summary>
/// Constructs a default dialogue context.
Expand Down

0 comments on commit 098496d

Please sign in to comment.