1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

Remove: setting "no_http_content_downloads" (#12058)

As we now use HTTPS, it is very likely this will work on most systems.
For systems that do have HTTPS blocked, it will fail instantly,
and it will fallback to TCP anyway. That makes this setting no longer
very useful.
This commit is contained in:
Patric Stout
2024-02-11 15:48:12 +01:00
committed by GitHub
parent 8db08da148
commit d02b1547f6
4 changed files with 3 additions and 20 deletions

View File

@@ -325,7 +325,7 @@ void ClientNetworkContentSocketHandler::DownloadSelectedContent(uint &files, uin
this->isCancelled = false;
if (_settings_client.network.no_http_content_downloads || fallback) {
if (fallback) {
this->DownloadSelectedContentFallback(content);
} else {
this->DownloadSelectedContentHTTP(content);