Improve match state handling, side swapping, and backup restoration #197
+272
−189
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔄 Improve match state handling, side swapping, and backup restoration
This PR introduces a set of critical fixes and a new feature to enhance eBot's match flow stability and configurability.
🔗 Related Pull Request: eBot-Web#117
This PR must be merged together with the linked PR in
⚠️ Please merge
eBot-CSGO-Web, as both contain dependent logic changes (e.g. backend + frontend support for halftime readiness).eBot-CSGO-Web#117before merging this PR to avoid inconsistent state.✅ New Feature
Integrates the new match option allowing admins to change halftime ready behave. Feature requested here [Feature] Readying up for 2nd Halftime and OT to be optional #192
🛠 Fixes
Fix incorrect side swapping after backup restore
Ensures teams are placed correctly after restoring from a backup, especially during halftime or overtime.
Fix OT backup score issues
Corrects bugs where overtime scores were inaccurately saved or restored. Issued opened here Backup/restore mismatch in OT #186
Fix "Stop to Warmup" behavior
Correctly transitions the match from live to warmup mode when stopping.
Fix knife config not resetting after forced knife end
Prevents leftover knife settings after admins skip or force-end knife rounds (like disabling giving bomb).
💡 Notes
These updates: