Console: RE_RELAY_READY name collision -- the new seat-ready regex
silently replaced the WAITING-FOR-OPERATOR matcher (class-body last assignment wins), breaking the LAUNCH button re-arm for back-to-back missions. Renamed the old matcher RE_RELAY_WAITOP; both paths regression-checked in isolation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9bec4b2050
commit
224eaff5f8
+2
-2
@@ -62,7 +62,7 @@ class SessionMonitor:
|
||||
RE_RELAY_RUN = re.compile(r"RunMission #(\d+) sent")
|
||||
RE_RELAY_STAT = re.compile(r"\[relay-stats\] (.*)")
|
||||
RE_RELAY_DOWN = re.compile(r"game\[.* host=(\d+)\] dropped")
|
||||
RE_RELAY_READY = re.compile(r"WAITING FOR OPERATOR")
|
||||
RE_RELAY_WAITOP = re.compile(r"WAITING FOR OPERATOR")
|
||||
RE_RELAY_SEAT = re.compile(
|
||||
r"SEAT (\d+) PRESENT tag='([^']*)' callsign='([^']*)' mech='([^']*)'")
|
||||
RE_RELAY_FREED = re.compile(r"SEAT (\d+) FREED tag='([^']*)'")
|
||||
@@ -92,7 +92,7 @@ class SessionMonitor:
|
||||
if m:
|
||||
self.eggs = int(m.group(1))
|
||||
changed = True
|
||||
if self.RE_RELAY_READY.search(line):
|
||||
if self.RE_RELAY_WAITOP.search(line):
|
||||
# WAITING FOR OPERATOR = pods are ready to launch. Reset
|
||||
# `launched` so the LAUNCH button re-enables -- this fires
|
||||
# again for a NEW mission after the pods rejoin (back-to-back
|
||||
|
||||
Reference in New Issue
Block a user