Skip to content

Commit

Permalink
Update AppSettings.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisFeline committed Oct 4, 2024
1 parent cdaf2b0 commit b27448a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Models/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static Settings() {
/// <summary>
/// The template used for the chatbox message. Some strings will be replaced.
/// </summary>
[JsonIgnore] public RoundInfoTemplate OSCMessageInfoTemplate { get; set; } =
public RoundInfoTemplate OSCMessageInfoTemplate { get; set; } =
new RoundInfoTemplate("- Lobby Stats -\nLobby Stuns : {LobbyStunsAll}\nLobby Stun Record : {LobbyTopStunsAll}\n<js>RoundStunsAll < 1 ? '' : 'Current Round Stuns : ' + {RoundStunsAll}</js>");

/// <summary>
Expand All @@ -166,7 +166,7 @@ static Settings() {
/// Enables writing round info to files using custom templates.
/// </summary>
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}<js>(MapOrigin ? 'from ' + MapOrigin : '') + (MapCreator ? 'by ' + MapCreator : '')</js>")
Expand Down

0 comments on commit b27448a

Please sign in to comment.