Skip to content

fixed gene dragons falling back to old sprites in build#12

Merged
Mel-Raeven merged 1 commit into
mainfrom
fix/build-new-dragons
Dec 14, 2025
Merged

fixed gene dragons falling back to old sprites in build#12
Mel-Raeven merged 1 commit into
mainfrom
fix/build-new-dragons

Conversation

@Mel-Raeven

Copy link
Copy Markdown
Owner

This pull request updates the gene system initialization logic to better handle resource paths, especially for environments like PyInstaller bundles. The main change is the integration of a new utility to resolve resource paths before loading gene assets.

Resource path handling improvements:

  • Added import of get_resource_path from src.resource_path to support dynamic resolution of asset paths.
  • Updated initialize_gene_system to use get_resource_path for resolving base_path before loading genes, improving compatibility with PyInstaller and similar packaging tools.

@Mel-Raeven
Mel-Raeven merged commit 24ebf15 into main Dec 14, 2025
3 checks passed
@Mel-Raeven
Mel-Raeven deleted the fix/build-new-dragons branch December 14, 2025 22:45
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.

1 participant