Skip to content

Conversation

@Stubbjax
Copy link

@Stubbjax Stubbjax commented Oct 27, 2025

This change fixes the team information displayed on the observer control bar for players that are not in the expected slot.

Before

Player --o.O--{0} is in slot 7 while the control bar attempts to read slot 6 (which is empty) and incorrectly shows Team None

image

After

Player --o.O--{0} is in slot 7 and the control bar correctly reads slot 7 and correctly shows Team 4

image

@Stubbjax Stubbjax self-assigned this Oct 27, 2025
@Stubbjax Stubbjax added Bug Something is not working right, typically is user facing GUI For graphical user interface Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour labels Oct 27, 2025
@xezon xezon changed the title bugfix: Always show correct teams for players in the observer control bar bugfix(gui): Always show correct teams for players in the observer control bar Oct 27, 2025
Copy link

@xezon xezon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple.

@xezon xezon added the Approved Pull Request was approved label Oct 27, 2025
@xezon xezon merged commit 87adc1a into TheSuperHackers:main Oct 27, 2025
20 checks passed
@Stubbjax Stubbjax deleted the fix-observer-teams branch October 27, 2025 23:12
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Pull Request was approved Bug Something is not working right, typically is user facing Gen Relates to Generals GUI For graphical user interface Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants