Compare commits

..

No commits in common. "f4143ad6d3a4a632015974ebc32e4fffcbcabde0" and "12623d7b94a152e5e7225061dad5956705b3107c" have entirely different histories.

1 changed files with 19 additions and 20 deletions

View File

@ -198,7 +198,6 @@ func (m *SceneMgr) MarshalAllRoom(platform string, groupId, gameId int, gameMode
GameMode: int32(s.gameMode),
SceneMode: int32(s.sceneMode),
GroupId: s.groupId,
GameFreeId: s.dbGameFree.GetId(),
Creator: s.creator,
ReplayCode: s.replayCode,
Params: common.CopySliceInt64ToInt32(s.params),
@ -206,12 +205,12 @@ func (m *SceneMgr) MarshalAllRoom(platform string, groupId, gameId int, gameMode
RobotCnt: int32(s.robotNum),
CreateTime: s.createTime.Unix(),
BaseScore: s.dbGameFree.BaseScore,
RoomConfigId: s.GetRoomConfigId(),
CurrRound: s.currRound,
GameFreeId: s.dbGameFree.GetId(),
MaxRound: s.totalRound,
Password: s.GetPassword(),
CostType: s.GetCostType(),
Voice: s.GetVoice(),
CurrRound: s.currRound,
}
if s.starting {
si.Start = 1