Skip to content

fix(match2): bo1 reset match display - #7947

Open
hjpalpha wants to merge 1 commit into
mainfrom
bo1-reset-match
Open

fix(match2): bo1 reset match display#7947
hjpalpha wants to merge 1 commit into
mainfrom
bo1-reset-match

Conversation

@hjpalpha

@hjpalpha hjpalpha commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

resolves #7909

How did you test this change?

dev

@hjpalpha
hjpalpha marked this pull request as ready for review August 14, 2026 10:01
@hjpalpha
hjpalpha requested review from a team as code owners August 14, 2026 10:01
if bestof == 1 and Info.config.match2.gameScoresIfBo1 and game1 and hasOnlyScores then
local mapOpponent = (game1.opponents or {})[ix] or {}
scoreDisplay = tonumber(mapOpponent.score)
status = mapOpponent.status

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The status shouldn't change, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, i guess it could be the case that a map-level forfeit is done. Which wouldn't make sense for a Bo1, but we've seen weirder things...

My initial thought was that when the match status is score, then for a Bo1 the same should hold for the map.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree that it is a rare edge case but as you said "we've seen weirder things..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bracket reset bo1 match score isn't shown (counterstrike)

2 participants