Fix new industry next to existing stations not filling industry stations_near
This commit is contained in:
@@ -1778,6 +1778,7 @@ static void PopulateStationsNearby(Industry *ind)
|
||||
|
||||
ForAllStationsAroundTiles(ind->location, [ind](Station *st, TileIndex tile) {
|
||||
if (!IsTileType(tile, MP_INDUSTRY) || GetIndustryIndex(tile) != ind->index) return false;
|
||||
ind->stations_near.insert(st);
|
||||
st->AddIndustryToDeliver(ind, tile);
|
||||
return false;
|
||||
});
|
||||
|
Reference in New Issue
Block a user