Skip to content

Fix client bugs with the Capture The Flag ruleset - #2944

Merged
jwrober merged 3 commits into
longturn:masterfrom
lmoureaux:bugfix/capture-the-flags-extras
Jul 27, 2026
Merged

Fix client bugs with the Capture The Flag ruleset#2944
jwrober merged 3 commits into
longturn:masterfrom
lmoureaux:bugfix/capture-the-flags-extras

Conversation

@lmoureaux

Copy link
Copy Markdown
Contributor

This fixes two bugs that lead to a lot of logging output when connecting:

  • A bug with extra_flag_captured, which has style=none. This likely leads to workers building roads shown as building rails, and rails as maglev (haven't checked though).
  • A bug that prevented receiving effects with "UnitClassFlag", "LimitedCR", correctly. This seems to be used only for Combat_Rounds, which isn't displayed directly in the UI but affects battle win chances.

I also slightly improved the logging.

Back port recommended, at least for the two bugfix commits.

@lmoureaux
lmoureaux requested review from XHawk87 and jwrober July 26, 2026 23:20
@lmoureaux lmoureaux added the back-port back-port candidate label Jul 26, 2026
@jwrober

jwrober commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

I can confirm that workers do look like they are building rails when they are building road. I think the better logging is worth backport too.

@jwrober

jwrober commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator
image

@jwrober
jwrober merged commit 50c1c05 into longturn:master Jul 27, 2026
41 checks passed
@jwrober jwrober moved this to Todo in Back-port Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

back-port back-port candidate

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants