CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
228 stars 89 forks source link

Close player extra option panel when leaving the lobby #548

Closed SadPencil closed 3 months ago

SadPencil commented 3 months ago

Suppose a player turns on the extra option panel, leave the lobby, and then re-join a lobby, the extra option panel is still turned on, instead of the default panel that displays players with their factions, colors, and locations.

This current behavior might be non-straightforward to players -- panel that belongs to the parent should also be closed when the parent is closed. It might be better to auto close the extra option panel when user leaves the lobby.

github-actions[bot] commented 3 months ago

Nightly build for this pull request: