Skip to content

Comments

Fix timer for queue games#759

Merged
vck3000 merged 2 commits intovck3000:masterfrom
bjb568:patch-5
Dec 30, 2025
Merged

Fix timer for queue games#759
vck3000 merged 2 commits intovck3000:masterfrom
bjb568:patch-5

Conversation

@bjb568
Copy link
Contributor

@bjb568 bjb568 commented Dec 26, 2025

Sets timer to 1.5/3/11. Currently crit timer is zero due to a bug. Note that here it's doing a strict comparison with zero which evaluates for false when crit timer is undefined.

if (timeouts.critMission === 0) {
timeouts.critMission = timeouts.default;
}

@vck3000
Copy link
Owner

vck3000 commented Dec 30, 2025

I've added a commit to prevent the timer going unhinged in the future.

@vck3000 vck3000 merged commit d72701b into vck3000:master Dec 30, 2025
1 check passed
Besjbo7 pushed a commit to Besjbo7/ProAvalon that referenced this pull request Feb 12, 2026
* Fix timer for queue games

* Update timer value check

---------

Co-authored-by: Victor Kuo <vck3000@gmail.com>
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