所有人回答完成后, 还是等待本轮结束再发送下一题
This commit is contained in:
parent
e480435aa4
commit
32c2662a6f
@ -98,9 +98,10 @@ class PuzzleController extends BaseController {
|
|||||||
if (mode == 1) {
|
if (mode == 1) {
|
||||||
let score = result ? 3 : -1
|
let score = result ? 3 : -1
|
||||||
await updateScore(history.room, [{accountid, score }])
|
await updateScore(history.room, [{accountid, score }])
|
||||||
if (checkSubFinish(history, id)) {
|
|
||||||
await sendOneQuestion(history)
|
// if (checkSubFinish(history, id)) {
|
||||||
}
|
// await sendOneQuestion(history)
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
return { result, answer: record.a1, stats: history.members }
|
return { result, answer: record.a1, stats: history.members }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user