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

game: disable sudden death on second round of stopwatch, refs #1498 #1835

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Exagone313
Copy link
Contributor

Do not merge, it needs to be tested.

Check discussion in #1498


It is now enabled on first round only (g_currentRound == 0).

If sudden death is used to win the first round, g_nextTimeLimit will be greater than the default g_timelimit.

src/game/g_main.c Outdated Show resolved Hide resolved
…y#1498

It is now enabled on first round only (`g_currentRound == 0`).

If sudden death is used by attackers to win the first round,
`g_nextTimeLimit` will be greater than the default `g_timelimit`.
@Exagone313 Exagone313 force-pushed the sudden-death-stopwatch-disabled-second-round branch from 2301ae2 to 84cdaf0 Compare April 12, 2023 20:29
Copy link

sonarcloud bot commented Feb 13, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
98 Security Hotspots
10.2% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant