Skip to content

bugfix(gui): Resolve the host's selected map through the map cache - #3109

Draft
bobtista wants to merge 1 commit into
TheSuperHackers:mainfrom
bobtista:bobtista/bugfix/lan-map-resolution
Draft

bugfix(gui): Resolve the host's selected map through the map cache#3109
bobtista wants to merge 1 commit into
TheSuperHackers:mainfrom
bobtista:bobtista/bugfix/lan-map-resolution

Conversation

@bobtista

Copy link
Copy Markdown

LanGameOptionsMenuInit looked the preferred map up with a raw lowercased TheMapCache->find, which matches only if the stored name already uses the cache's separator, and then passed the unresolved name to setMap.

Now the map is resolved through TheMapCache->findMap, which normalizes separators, and the canonical m_fileName is what gets set on the game.

Todo:

  • Replicate to Generals

@bobtista
bobtista marked this pull request as draft August 11, 2026 15:51
@bobtista bobtista self-assigned this Aug 11, 2026
@bobtista bobtista added the Platform Work towards platform support, such as Linux, MacOS label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform Work towards platform support, such as Linux, MacOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Host's preferred LAN map is not matched when its stored name uses a different separator

1 participant