mirror of
https://github.com/motajs/template.git
synced 2026-11-04 16:24:38 +08:00
feat: 将 HumanBreak 新内容移植入该样板
This commit is contained in:
1 parent
6bf32174d8
commit
bea2725d6a
128 files changed
+11984
-573
No files matched your search
@@ -3,12 +3,20 @@ import { create } from './create';
|
||||
import { patchAll } from '@user/data-fallback';
|
||||
import { loading } from '@user/data-base';
|
||||
import { Patch } from '@motajs/legacy-common';
|
||||
import { logger } from '@motajs/common';
|
||||
|
||||
export function createData() {
|
||||
createMota();
|
||||
patchAll();
|
||||
create();
|
||||
|
||||
if (main.replayChecking) {
|
||||
logger.log(
|
||||
`如果需要调试录像验证,请在 script/build-game.ts 中将 DEBUG_REPLAY 设为 true,` +
|
||||
`此时录像验证中可以看到完整正确的报错栈。调试完毕后,记得将它重新设为 false`
|
||||
);
|
||||
}
|
||||
|
||||
loading.once('coreInit', () => {
|
||||
Patch.patchAll();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user