You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix file preloading warning in HTML5 platform
This commit is contained in:
@@ -199,7 +199,8 @@
|
||||
}
|
||||
LIBS.FS.mkdirTree(dir);
|
||||
}
|
||||
LIBS.FS.createDataFile('/', file.path, new Uint8Array(file.buffer), true, true, true);
|
||||
// With memory growth, canOwn should be false.
|
||||
LIBS.FS.createDataFile(file.path, null, new Uint8Array(file.buffer), true, true, false);
|
||||
}, this);
|
||||
|
||||
preloadedFiles = null;
|
||||
|
||||
Reference in New Issue
Block a user