diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 1ec5901..fdae389 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -23,7 +23,7 @@ void RoomMgr::Init() auto master_svr_conf = master_svr_cluster_conf->At(i); int instance_id = master_svr_conf->At("instance_id")->AsXValue(); std::string remote_ip = master_svr_conf->At("ip")->AsXValue(); - int remote_port = master_svr_conf->At("port")->AsXValue(); + int remote_port = master_svr_conf->At("listen_port")->AsXValue(); a8::Timer::Instance()->AddDeadLineTimer(1000 + (i + 1), a8::XParams()