Removed a call to set_blocking_enabled
from function enet_socket_create
since it is already called from https://github.com/godotengine/godot/blob/master/thirdparty/enet/host.c#L63
This commit is contained in:
parent
bb3089895c
commit
63d1a80656
1 changed files with 0 additions and 1 deletions
1
thirdparty/enet/godot.cpp
vendored
1
thirdparty/enet/godot.cpp
vendored
|
@ -95,7 +95,6 @@ ENetSocket enet_socket_create(ENetSocketType type) {
|
||||||
NetSocket *socket = NetSocket::create();
|
NetSocket *socket = NetSocket::create();
|
||||||
IP::Type ip_type = IP::TYPE_ANY;
|
IP::Type ip_type = IP::TYPE_ANY;
|
||||||
socket->open(NetSocket::TYPE_UDP, ip_type);
|
socket->open(NetSocket::TYPE_UDP, ip_type);
|
||||||
socket->set_blocking_enabled(false);
|
|
||||||
|
|
||||||
return socket;
|
return socket;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue