修正普通模式下无法记录答题结果的bug
This commit is contained in:
parent
8ad9c573b2
commit
cc5ecd665c
@ -112,7 +112,7 @@ class PuzzleController extends BaseController {
|
|||||||
statMap.timeLast = Date.now()
|
statMap.timeLast = Date.now()
|
||||||
statMap.answer.set(id, result)
|
statMap.answer.set(id, result)
|
||||||
statMap.total++
|
statMap.total++
|
||||||
if (record.type !== 1) {
|
if (record.type !== 3) {
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
statMap.rightCount++
|
statMap.rightCount++
|
||||||
statMap.comboCount++
|
statMap.comboCount++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user