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: persistent startup not loading roles #86

Merged
merged 23 commits into from
Dec 15, 2024

Conversation

RakuJa
Copy link
Owner

@RakuJa RakuJa commented Dec 15, 2024

No description provided.

# Conflicts:
#	src/db/bestiary_proxy.rs
#	src/db/data_providers/raw_query_builder.rs
#	src/db/shop_proxy.rs
#	src/models/creature/creature_struct.rs
#	src/models/routers_validator_structs.rs
#	src/services/encounter_service.rs
* rename some roles
* change every variant of SpellCaster into Spellcaster
Roles are always calculated at startup in Clean mode, but in Persistent mode the calculation is skipped entirely, trusting the DB. The build process deleted part of the DB leading to no role reloaded. This post build script will ensure the integrity of the DB after the build process is completed
@RakuJa RakuJa added bug Something isn't working bestiary labels Dec 15, 2024
@RakuJa RakuJa self-assigned this Dec 15, 2024
@RakuJa RakuJa merged commit fa26dad into master Dec 15, 2024
2 checks passed
@RakuJa RakuJa deleted the fix_clean_startup_not_loading_roles branch December 15, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bestiary bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant