diff --git a/CHANGELOG.md b/CHANGELOG.md index 59efdb7..cb1fa9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ * Added handling for Odyssey clients. (#114) * Correctly setting system for manual Ratsignals (`""`) to `None` now. IMO a Mecha bug, but whatever. +* Code reds are now correctly detected again with the new case announcement + format. (#115) ----- diff --git a/plugins/RatAttack/RatAttack.cs b/plugins/RatAttack/RatAttack.cs index bcd30d7..788a2da 100644 --- a/plugins/RatAttack/RatAttack.cs +++ b/plugins/RatAttack/RatAttack.cs @@ -98,7 +98,7 @@ namespace RatAttack bool permitLocked = match.Groups["permit"].Success; string? permitName = match.Groups["permitName"].Value; string platform = match.Groups["platform"].Value; - bool codeRed = match.Groups["oxygen"].Value == "NOT OK"; + bool codeRed = match.Groups["oxygen"].Success; bool odyssey = match.Groups["odyssey"].Success; int number = int.Parse(match.Groups["number"].Value);