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

Fixes a critical mistake in shuttles.dm #11449

Conversation

PowerfulBacon
Copy link
Member

@PowerfulBacon PowerfulBacon commented Sep 8, 2024

About The Pull Request

This introduces a hotfix for shuttles.dm, allowing map generators to start running before other systems start running.

Currently, shuttles doesn't init until all shuttles have been placed but the map generators don't run until shuttles have finished init, causing it to block for 30 seconds.

This PR serves as a hotfix to quickly fix the issue, but there is still time wasted during init unnecessarilly and a proper fix which involves a much more in-depth rework of initialisation in the MC will come later. (We need to be able to wait for asynchronous tasks that are raised during initialisation)

Why It's Good For The Game

Shuttles will no longer take 30 seconds to load, and #11448 will be resolved.

Fixes #11448

Testing Photographs and Procedure

image

Changelog

🆑
fix: Fixes shuttle loading taking 30 seconds.
/:cl:

@PowerfulBacon PowerfulBacon added the Priority: Critical THIS IS VERY IMPORTANT label Sep 8, 2024
@PowerfulBacon PowerfulBacon marked this pull request as ready for review September 8, 2024 11:04
@PowerfulBacon PowerfulBacon merged commit 4b1aa7f into BeeStation:master Sep 8, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Priority: Critical THIS IS VERY IMPORTANT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test failure with no obvious source
1 participant