Browse Source

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

Tarik02 6 years ago
parent
commit
63d1a80656
1 changed files with 0 additions and 1 deletions
  1. 0 1
      thirdparty/enet/godot.cpp

+ 0 - 1
thirdparty/enet/godot.cpp

@@ -95,7 +95,6 @@ ENetSocket enet_socket_create(ENetSocketType type) {
 	NetSocket *socket = NetSocket::create();
 	IP::Type ip_type = IP::TYPE_ANY;
 	socket->open(NetSocket::TYPE_UDP, ip_type);
-	socket->set_blocking_enabled(false);
 
 	return socket;
 }