mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
another typo fix
This commit is contained in:
parent
2d2440053d
commit
51f303d5e2
1 changed files with 1 additions and 1 deletions
2
peer.c
2
peer.c
|
@ -546,7 +546,7 @@ enet_peer_disconnect (ENetPeer * peer, enet_uint32 data)
|
|||
|
||||
if (peer -> state == ENET_PEER_STATE_CONNECTED || peer -> state == ENET_PEER_STATE_DISCONNECT_LATER)
|
||||
{
|
||||
enet_peer_notify_disconnect (peer);
|
||||
enet_peer_on_disconnect (peer);
|
||||
|
||||
peer -> state = ENET_PEER_STATE_DISCONNECTING;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue