Repository navigation
Conversation
When the root of a sublevel is broken, floods that meet do not necessarily tell each other who they've already met. If we have floods A, B, and C: 1) A can meet B 2) C can meet A 3) B only knows about A, not C. So at the end, we get two separate sublevels, in this example.
…els to get remade This can happen when a block the flood already reached breaks before the split runs, or when blocks are broken in the same tick as a load, before the first fill finishes.
rebuildHeatmapFrom reset the count and then the part that split off also gets subtracted, and so the count thinks the ship is smaller than it is. Later, if/when the root breaks, the check fails and the ship is rebuilt as a new sublevel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR follows from a conversation with Eriksonn in code-chat.
Other reports relevant to these issues:
https://discord.com/channels/937435293294919690/937444160254906419/1574084697477222471
https://discord.com/channels/937435293294919690/937444160254906419/1574090272390774834
In each of the following videos that illustrate the three bugs:
Clip of issue 1 (fix): https://github.com/user-attachments/assets/1a01b16b-4fbb-4b6e-a85f-ade844cf95da
Clip of issue 2 (fix): https://github.com/user-attachments/assets/27db0885-3949-4fc6-bd81-e32f0baf5ee2
Clip of issue 3 (fix): https://github.com/user-attachments/assets/f549fbdf-30b4-4d89-80df-9c7325445d72