Skip to content

Commit

Permalink
Try preload before defold init
Browse files Browse the repository at this point in the history
  • Loading branch information
d954mas authored and aglitchman committed Aug 29, 2023
1 parent d13ef60 commit 4e18f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liveupdate_reszip/manifests/web/engine_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
try {
FS.unlink(dir + "/." + resDir + "/liveupdate.arci.tmp");
} catch (e) {}
old_preloadAndCallMain();

if (Module._archiveLoaded) {
// {{#liveupdate_reszip.preload_file}}
_dmResZipRequestFileAsync("{{{liveupdate_reszip.preload_file}}}");
// {{/liveupdate_reszip.preload_file}}
}
old_preloadAndCallMain();
};
</script>
</body>
Expand Down

0 comments on commit 4e18f0c

Please sign in to comment.