Skip to content

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

Open
MrS-ibra wants to merge 1 commit intoGeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/countdown-back-button-crash
Open

fix(lobby): Prevent crash from buttonBack re-enabling on countdown completion#453
MrS-ibra wants to merge 1 commit intoGeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/countdown-back-button-crash

Conversation

@MrS-ibra
Copy link
Copy Markdown
Member

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

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

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.

1 participant