From b27448a765b0063d1e8cec9edf399c67e58022e5 Mon Sep 17 00:00:00 2001
From: Kittenji <41535779+ChrisFeline@users.noreply.github.com>
Date: Fri, 4 Oct 2024 10:50:41 -0400
Subject: [PATCH] Update AppSettings.cs
---
Models/AppSettings.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Models/AppSettings.cs b/Models/AppSettings.cs
index ddadc06..e32641f 100644
--- a/Models/AppSettings.cs
+++ b/Models/AppSettings.cs
@@ -153,7 +153,7 @@ static Settings() {
///
/// The template used for the chatbox message. Some strings will be replaced.
///
- [JsonIgnore] public RoundInfoTemplate OSCMessageInfoTemplate { get; set; } =
+ public RoundInfoTemplate OSCMessageInfoTemplate { get; set; } =
new RoundInfoTemplate("- Lobby Stats -\nLobby Stuns : {LobbyStunsAll}\nLobby Stun Record : {LobbyTopStunsAll}\nRoundStunsAll < 1 ? '' : 'Current Round Stuns : ' + {RoundStunsAll}");
///
@@ -166,7 +166,7 @@ static Settings() {
/// Enables writing round info to files using custom templates.
///
public bool RoundInfoToFile { get; set; }
- [JsonIgnore] public RoundInfoTemplate[] RoundInfoTemplates { get; set; } = [
+ public RoundInfoTemplate[] RoundInfoTemplates { get; set; } = [
new ("ton_terror_name.txt", "{TerrorName}"),
new ("ton_round_type.txt", "{RoundType}"),
new ("ton_map_name.txt", "{MapName}(MapOrigin ? 'from ' + MapOrigin : '') + (MapCreator ? 'by ' + MapCreator : '')")