mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-19 06:04:30 +08:00
Deploying to gh-pages from @ fd8fb6a068 🚀
This commit is contained in:
1 parent
8438969d32
commit
213f1a5e49
28 files changed
+465
-291
No files matched your search
+5
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user