RatAttack: fixed code red detection
… broke with the reworked case announcement. fixes #115
This commit is contained in:
parent
1991e6b5f6
commit
aed4609ed8
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
-----
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue