Deploying to gh-pages from @ fd8fb6a068 🚀

This commit is contained in:
unanmed committed 2023-05-17 12:17:37 +00:00
1 parent 8438969d32
commit 213f1a5e49
28 files changed
+465 -291

No files matched your search

+5 -1
View File
@@ -343,7 +343,11 @@ core.prototype._loadPlugin = async function () {
if (main.pluginUseCompress) {
await main.loadScript(`project/plugin.min.js?v=${main.version}`);
} else {
await main.loadScript(`src/plugin/game/index.js`, true);
if (main.mode === 'play') {
await main.loadScript(`src/plugin/game/index.js`, true);
} else {
await main.loadScript(`src/plugin/game/index.esm.js`, true);
}
}
};