Skip to content

Commit

Permalink
fix spoilers in warning notes
Browse files Browse the repository at this point in the history
  • Loading branch information
RheaAyase committed Feb 6, 2025
1 parent ad40f50 commit 5d1ab91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entities/UserData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public string GetWarningsString(bool skipCount = false)

public void AddWarning(string warning)
{
warning = $"{Utils.GetDatestamp()}: {warning}";
warning = $"{Utils.GetDatestamp()}: {warning.Replace("|","/")}";
this.WarningCount++;
this.Notes += string.IsNullOrEmpty(this.Notes) ? warning : (" | " + warning);
}
Expand Down

0 comments on commit 5d1ab91

Please sign in to comment.