Commit aa3ea5a2 authored by nanahira's avatar nanahira

fix joinGameMessage for nowq

parent 945fdbcd
Pipeline #43223 passed with stages
in 1 minute and 57 seconds
...@@ -223,6 +223,8 @@ export class Room { ...@@ -223,6 +223,8 @@ export class Room {
info: { info: {
...this.hostinfo, ...this.hostinfo,
lflist: this.lflist === blankLFList ? 0 : this.lflist.getHash(), lflist: this.lflist === blankLFList ? 0 : this.lflist.getHash(),
mode:
this.hostinfo.mode > 2 ? (this.isTag ? 2 : 1) : this.hostinfo.mode,
}, },
}); });
} }
...@@ -1210,7 +1212,8 @@ export class Room { ...@@ -1210,7 +1212,8 @@ export class Room {
'Initializing OCGCoreWorker', 'Initializing OCGCoreWorker',
); );
const ocgcoreWasmPathConfig = this.ctx.config.getString('OCGCORE_WASM_PATH'); const ocgcoreWasmPathConfig =
this.ctx.config.getString('OCGCORE_WASM_PATH');
const ocgcoreWasmPath = ocgcoreWasmPathConfig const ocgcoreWasmPath = ocgcoreWasmPathConfig
? path.resolve(process.cwd(), ocgcoreWasmPathConfig) ? path.resolve(process.cwd(), ocgcoreWasmPathConfig)
: undefined; : undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment