mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-23 05:37:38 +00:00
Fix web builds using disgusting amounts of bandwidth
This commit is contained in:
parent
f6bd203786
commit
7063fafd33
|
@ -469,7 +469,7 @@ class Project extends HXProject {
|
|||
// Should be true only on web builds.
|
||||
// Enabling embedding and preloading is required to preload assets properly.
|
||||
EMBED_ASSETS.apply(this, isWeb());
|
||||
PRELOAD_ALL.apply(this, true);
|
||||
PRELOAD_ALL.apply(this, !isWeb());
|
||||
|
||||
// Should be true except on MacOS.
|
||||
// File drop doesn't work there.
|
||||
|
|
Loading…
Reference in a new issue