匹配时, 不再判断房间是否已经过期
This commit is contained in:
parent
c9557d6f7a
commit
2f22a90283
@ -155,7 +155,8 @@ class PuzzleController extends BaseController {
|
||||
}
|
||||
new RoomState().lock(shop)
|
||||
let history = await PuzzleSession.findOne({ shop, status: {$in: [0, 1]}, type: 1 })
|
||||
if (history && !history.hasExpired()) {
|
||||
if (history) {
|
||||
// if (history && !history.hasExpired()) {
|
||||
beginTime = history.begin
|
||||
sessionMatch = history.id
|
||||
if (!history.members.has(accountid)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user