Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Map images not loading in round summaries #54

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

darth3pio
Copy link

@darth3pio darth3pio commented Jun 15, 2023

The underlying code matched maps and therefore the map image to the folder name rather than a display name and incorrect naming of these two images was leading to a failure to display a map image in round summaries.

The underlying code matched maps and therefore the map image to the folder name rather than a display name and incorrect naming of these two images was leading to a failure to display a map image.
@leojonathanoh
Copy link
Member

This is right. The map's (aka. level's) name's source of truth is from the gamespy query, which matches the map's entry in bf2 server's maplist.con. As seen in that example maplist.con, the greatwall and operationsmokescreen are the actual level names. So another good catch. Thanks!

@leojonathanoh leojonathanoh self-assigned this Jun 15, 2023
@leojonathanoh leojonathanoh added this to the 3.2.0 milestone Jun 15, 2023
Copy link
Member

@leojonathanoh leojonathanoh left a comment

Choose a reason for hiding this comment

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

lgtm

@leojonathanoh leojonathanoh merged commit aaf1d05 into startersclan:master Jun 15, 2023
@darth3pio darth3pio deleted the master branch September 23, 2023 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants