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 Bug With Hot Reload and New Loading Progress #173

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

zicklag
Copy link
Member

@zicklag zicklag commented Jul 29, 2022

PR #164 broke hot reloading by accidentally triggering asset update
events every time it would check the game load progress.

This moves game load progress checking to a system condition instead
with a read-only borrow to the game asset to prevent the issue.

PR fishfolk#164 broke hot reloading by accidentally triggering asset update
events every time it would check the game load progress.

This moves game load progress checking to a system condition instead
with a read-only borrow to the game asset to prevent the issue.
@zicklag zicklag requested a review from 64kramsystem July 29, 2022 21:37
@zicklag zicklag force-pushed the fix-hot-reloading branch from 96defe1 to 1dc96f5 Compare July 29, 2022 21:38
@zicklag
Copy link
Member Author

zicklag commented Jul 29, 2022

Ah, for some reason the condition system is running every frame no matter what and logging loading progress. I'll fix that.

@zicklag zicklag force-pushed the fix-hot-reloading branch from 1dc96f5 to 4d85333 Compare July 29, 2022 21:44
@zicklag
Copy link
Member Author

zicklag commented Jul 29, 2022

OK, that should fix it.

@64kramsystem
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 29, 2022

Build succeeded:

@bors bors bot merged commit 83e6285 into fishfolk:master Jul 29, 2022
@zicklag zicklag deleted the fix-hot-reloading branch July 29, 2022 22:02
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.

2 participants