diff --git a/src/api/controllers/puzzle.controller.ts b/src/api/controllers/puzzle.controller.ts index 582403b..2a2464f 100644 --- a/src/api/controllers/puzzle.controller.ts +++ b/src/api/controllers/puzzle.controller.ts @@ -244,8 +244,8 @@ class PuzzleController extends BaseController { } new RoomState().lock(shop) let history = await PuzzleSession.findOne({ shop, status: {$in: [0, 1]}, type: 1, activityId: aid }) - if (history) { - // if (history && !history.hasExpired()) { + // if (history) { + if (history && !history.hasExpired()) { beginTime = history.begin sessionMatch = history.id if (!history.members.has(accountid)) {