Emscripten: Include GFX baseset into data file

This commit is contained in:
Sergii Pylypenko
2021-05-02 02:22:31 +03:00
parent abbe0a4a0a
commit 503e6c9876
4 changed files with 19 additions and 33 deletions

View File

@@ -31,7 +31,7 @@ Module.preRun.push(function() {
}
/* Check if the OpenGFX baseset is already downloaded. */
if (!FS.analyzePath(content_download_dir + '/baseset/opengfx-0.6.0.tar').exists) {
if (false && !FS.analyzePath(content_download_dir + '/baseset/opengfx-0.6.0.tar').exists) {
window.openttd_downloaded_opengfx = true;
FS.createPreloadedFile(content_download_dir + '/baseset', 'opengfx-0.6.0.tar', 'https://installer.cdn.openttd.org/emscripten/opengfx-0.6.0.tar', true, true);
} else {