点击默认桌子时自动匹配
parent
ed03b29d9b
commit
11e7962f7f
|
|
@ -283,7 +283,7 @@ local function __fillRoomItem(self, index, item, room)
|
||||||
if room.default or self.curGroup.lev == 3 then
|
if room.default or self.curGroup.lev == 3 then
|
||||||
-- 房间点击:假房间 匹配,真房间 加入
|
-- 房间点击:假房间 匹配,真房间 加入
|
||||||
if room.default or isHidden == 1 then
|
if room.default or isHidden == 1 then
|
||||||
self:__startGame(room.id, room.pid, true, isHidden)
|
self:__startGame(room.id, room.pid, false, isHidden)
|
||||||
else
|
else
|
||||||
self:__joinRoom(roomid)
|
self:__joinRoom(roomid)
|
||||||
end
|
end
|
||||||
|
|
@ -350,7 +350,7 @@ local function __fillRoomItem(self, index, item, room)
|
||||||
function()
|
function()
|
||||||
riv:Dispose()
|
riv:Dispose()
|
||||||
if room.default or isHidden == 1 then
|
if room.default or isHidden == 1 then
|
||||||
self:__startGame(room.id, room.pid, true, isHidden)
|
self:__startGame(room.id, room.pid, false, isHidden)
|
||||||
else
|
else
|
||||||
self:__joinRoom(roomid)
|
self:__joinRoom(roomid)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue