Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proximity setting for auto #1428

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Add proximity setting for auto #1428

merged 1 commit into from
Nov 14, 2024

Conversation

Pablete1234
Copy link
Member

The ui.proximity setting currently only allows true & false, which works allright for tournament settings to have it enabled, and more public/casual to hide it. However this poses a problem when some maps have timelimit that can end up deciding the winner based on proximity. It's not intuitive to win/lose a match and not see in the scoreboard why it was.

This PR fixes it by adding an 'auto' setting to proximity, which means it will hide proximity most of the time (similar to false), with the exception of when there's an active timelimit, and the tl will use proximity to decide its result (eg: a TL with result = defenders won't show proximity). Additionally things like score-results will hide proximity, but show it during overtime as then it could end up deciding the result.

Signed-off-by: Pablo Herrera <[email protected]>
@Pablete1234 Pablete1234 merged commit 7397d46 into dev Nov 14, 2024
2 checks passed
@Pablete1234 Pablete1234 deleted the proximity-auto-setting branch November 14, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants