1
This commit is contained in:
parent
e56ab67d92
commit
b67245b731
@ -2604,8 +2604,9 @@ int Room::InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<c
|
||||
if (hum) {
|
||||
hum->ReJoin(ip_saddr, socket_handle, msg, p);
|
||||
} else {
|
||||
auto m = p->GetObByAccountId(msg->account_id());
|
||||
if (m) {
|
||||
auto hum = p->GetRoom()->GetRoomOb()->GetByAccountId(msg->account_id());
|
||||
if (hum) {
|
||||
hum->ReJoin(ip_saddr, socket_handle, msg, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user