stageid 赋值

This commit is contained in:
meixiongfeng 2023-07-27 12:01:25 +08:00
parent 6d142ceac4
commit 9d76abac5e

View File

@ -132,6 +132,9 @@ func (this *apiComp) EnterLevel(session comm.IUserSession, req *pb.StonehengeEnt
stone.Rooms.Eventid[v] = false
}
}
// stageid 赋值
stone.StageID = req.Stageid
update["stageID"] = stone.StageID
update["rooms"] = stone.Rooms
stone.CurRoomIndes = 1 // 第一次进房间 默认第一关
update["curRoomIndes"] = stone.CurRoomIndes