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 incorrect loading progress when menu images are added/removed #9500

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

Robyt3
Copy link
Member

@Robyt3 Robyt3 commented Jan 9, 2025

Do not increment loading progress for individual menu images because the total number of images in the menuimages folder might be different than expected. Eventually, menu image loading could be moved to a background job like community icon loading.

Closes #9497.

Checklist

  • Tested the change ingame
  • Provided screenshots if it is a visual change
  • Tested in combination with possibly related configuration options
  • Written a unit test (especially base/) or added coverage to integration test
  • Considered possible null pointers and out of bounds array indexing
  • Changed no physics that affect existing maps
  • Tested the change with ASan+UBSan or valgrind's memcheck (optional)

Do not increment loading progress for individual menu images because the total number of images in the `menuimages` folder might be different than expected. Eventually, menu image loading could be moved to a background job like community icon loading.

Closes ddnet#9497.
@Robyt3 Robyt3 added this to the DDNet 18.9 milestone Jan 9, 2025
@def- def- added this pull request to the merge queue Jan 9, 2025
Merged via the queue into ddnet:master with commit e061efc Jan 9, 2025
15 checks passed
@Robyt3 Robyt3 deleted the Client-Menuimages-Progress-Fix branch January 9, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assert in render loading triggers in new 18.9
2 participants