1
This commit is contained in:
parent
baa0ae5322
commit
48ef328866
@ -2266,10 +2266,10 @@ void Human::ReJoin(long ip_saddr, int socket_handle)
|
||||
if (!IsPlayer()) {
|
||||
abort();
|
||||
}
|
||||
if (socket_handle == 0) {
|
||||
if (socket_handle == 0 && GetSocketHandle() != 0) {
|
||||
A8_ABORT();
|
||||
}
|
||||
auto old_socket_handle = this->GetSocketHandle();
|
||||
auto old_socket_handle = GetSocketHandle();
|
||||
SetIpSaddr(ip_saddr);
|
||||
SetSocketHandle(socket_handle);
|
||||
room->frame_event.AddEnterGame(GetWeakPtrRef());
|
||||
|
Loading…
x
Reference in New Issue
Block a user