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

Assets.pk3 and its contents get parsed twice #637

Open
lemming104 opened this issue Aug 29, 2024 · 0 comments
Open

Assets.pk3 and its contents get parsed twice #637

lemming104 opened this issue Aug 29, 2024 · 0 comments

Comments

@lemming104
Copy link
Collaborator

lemming104 commented Aug 29, 2024

I noticed this while messing with font loading. It looks like Assets.pk3 gets loaded and parsed during client init:

m_archiveCollection.Load(Array.Empty<string>());

And then it gets loaded again as a consequence of this call, after the IWAD is selected.

bool success = await Task.Run(() => LoadFiles(iwad));

This means that the font-to-bitmap generation stuff gets run twice, which is actually how I noticed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant