1
0
Fork 0
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:
EliteMasterEric 2024-09-10 17:26:33 -04:00
parent f6bd203786
commit 7063fafd33

View file

@ -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.