Summary
UpdateMapStatus in MatchManager prevents duplicate transitions but does not validate that transitions are valid.
Findings
Impact
Match state corruption. Matches could end without being played or enter impossible states.
Suggested Fix
Define allowed transitions dictionary. Reject invalid transitions with warning log.
Summary
UpdateMapStatus in MatchManager prevents duplicate transitions but does not validate that transitions are valid.
Findings
Impact
Match state corruption. Matches could end without being played or enter impossible states.
Suggested Fix
Define allowed transitions dictionary. Reject invalid transitions with warning log.