@@ -35,14 +35,14 @@ func enterHall(args []interface{}) {
return
}
//如果玩家在某个游戏里,就进行重连
- // if info.RoomId != 0 {
- // //进行重连逻辑
- // } else {
- // a.WriteMsg(&msg.ResEnterHall{
- // Success: true,
- // ErrMsg: nil,
- // })
- // }
+ if info.RoomId != 0 {
+ //进行重连逻辑
+ } else {
+ // a.WriteMsg(&msg.ResEnterHall{
+ // Success: true,
+ // ErrMsg: nil,
+ // })
+ }
a.WriteMsg(&msg.ResEnterHall{
Success: true,
ErrMsg: nil,