Skip to content

fix(lobby): Prevent crash from buttonBack re-enabling on countdown completion - #453

Merged
x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/countdown-back-button-crash
Jun 18, 2026
Merged

fix(lobby): Prevent crash from buttonBack re-enabling on countdown completion#453
x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/countdown-back-button-crash

Conversation

@MrS-ibra

@MrS-ibra MrS-ibra commented Apr 6, 2026

Copy link
Copy Markdown

When the match start countdown reached zero, StopCountdown was called which caused the update loop to detect the countdown had stopped and re enable the back button. Due to network delay, the game start packet had not yet arrived, leaving a window where clicking back caused a crash.

Fixed by setting matchStartCountdownWasRunning to false before StopCountdown so the reenable is skipped when the countdown completes

@x64-dev
x64-dev merged commit 14b5cf8 into GeneralsOnlineDevelopmentTeam:main Jun 18, 2026
5 checks passed
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.

2 participants