Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Assertion failure when post road-works cleanup removes all road pieces #7903
When road works have completed on a tile, if _settings_game.economy.mod_road_rebuild is true, CleanUpRoadBits() may remove all road bits currently on the tile.
Once RemoveRoad() is called in this case, TileLoop_Road() should return early as the tile is no longer a road tile and all subsequent road tile checks/actions are no longer applicable.