房间倍数修复

master
1076390229 2025-07-28 23:10:48 +08:00
parent 0160bddd98
commit 04a307bee2
1 changed files with 2 additions and 1 deletions

View File

@ -519,7 +519,8 @@ function M:UpdateFamilyRoom(fgCtr, id)
local config = ExtendManager.GetExtendConfig(gameId) local config = ExtendManager.GetExtendConfig(gameId)
local mode = config:GetGameInfo() local mode = config:GetGameInfo()
local gamePlay = mode:LoadConfigToDetail(playGameInfoTable[roomList[newIndex].pid].config) local gamePlay = mode:LoadConfigToDetail(playGameInfoTable[roomList[newIndex].pid].config)
local times = json.decode(playList[newIndex].hpData).times local play = self._group:getPlay(roomList[newIndex].pid)
local times = json.decode(play.hpData).times
gamePlay = times / 1000 .. "倍," .. gamePlay gamePlay = times / 1000 .. "倍," .. gamePlay
obj:GetChild('Label_gameRule').title = gamePlay obj:GetChild('Label_gameRule').title = gamePlay
local roomName = playGameInfoTable[roomList[newIndex].pid].name local roomName = playGameInfoTable[roomList[newIndex].pid].name