Closed mugg91 closed 2 hours ago
Duplicate of #2122 , fixed for next update.
Video of the patch: https://fs.vamist.dev/e3a815-Replay_2024-09-09_09-37-55.mp4
The client never knew enough information to generate dirt background support if you were not in the game since the map switched.
This leads to the following (known) issues:
Stone tiles removing dirt background on rejoin
Backgrounds replacing dirt background on rejoin
Any wall connected to a dirt/bedrock ceiling will generate dirt background on rejoin
This PR has the server send u8 dirt level whenever SendMapTile is called.
Description
Under certain circumstances, destroying stone tiles that were placed on dirt back tiles would erroneously turn into empty (air) tiles instead of going back to being dirt back tiles.
Also, under certain circumstances, empty (air) tiles could turn into dirt back tiles.
I don't understand the exact reasons.
Here I built a gigantic pyramid in Sandbox EU, then we destroyed it. As seen in the screenshot, many rows turned into empty air tiles.
In this screenshot there are dirt back tiles that shouldn't be there. It was like this when I joined.