1
This commit is contained in:
parent
3e7b9608f0
commit
4df601f35d
@ -1175,6 +1175,9 @@ void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (p->GetRoom()) {
|
if (p->GetRoom()) {
|
||||||
|
if (p->GetRoom()->GetGasData().GetGasMode() != GasInactive) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
auto hum = p->GetRoom()->GetPlayerByAccountId(join_msg->account_id());
|
auto hum = p->GetRoom()->GetPlayerByAccountId(join_msg->account_id());
|
||||||
if (hum) {
|
if (hum) {
|
||||||
hum->ReJoin(ip_saddr, socket_handle, join_msg, p);
|
hum->ReJoin(ip_saddr, socket_handle, join_msg, p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user