修改娱乐模式保存结果的返回
This commit is contained in:
parent
aa8da0cb27
commit
250016dbe4
@ -30,7 +30,7 @@ export default class RecordController extends BaseController {
|
||||
let record = new GameRecord(req.params)
|
||||
await record.save()
|
||||
if (!record.matchid) {
|
||||
return
|
||||
return {}
|
||||
}
|
||||
let cfg: MatchCfg = global.$cfg.get(BaseConst.MATCH).get(parseInt(record.matchid))
|
||||
if (!cfg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user